Pinned Loading
-
-
Generates social sharing icons and l...
Generates social sharing icons and links for single posts and WooCommerce products. 1<?php
2/**
3* Generates social sharing icons and links for posts and products.
4*
5* For best results, make sure your site already includes OpenGraph support.
-
Prevent direct access via URL to a W...
Prevent direct access via URL to a WordPress page 1<?php
2function prefix_no_direct_access() {
3// Define Page URL for redirect.
4$careers = get_permalink( get_page_by_title( 'Careers' ) );
5 -
Hide the price range for WooCommerce...
Hide the price range for WooCommerce Variable Products and add 'from' text before the price. 1<?php
2//Customizes the 'from' text span.
3add_filter( 'woocommerce_get_price_html_from_text', function( $html ) {
4$from_HTML = str_replace(
5_x( 'From:', 'min_price', 'textdomain' ) . ' </span>',
-
Move WooCommerce Store Notice ABOVE ...
Move WooCommerce Store Notice ABOVE Page Header 1<?php
2/**
3* Unregister WooCommerce Store Notice from 'wp_footer' action
4*/
5remove_action( 'wp_footer', 'woocommerce_demo_store' );
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.