Hide Empty Categories for PP Grid Filter
add_filter( 'pp_cg_filters_show_available_posts_terms', '__return_true' );
Organization schema setup
This PHP snippet is for Organization schema (JSON-LD) that clearly says: “This site is published by…
Hide social login from checkout
Good for when you are using it elsewhere on your website and do not want it…
Delete Double Logo At Checkout
/** * ============================================================ * Hide Duplicate Astra Header on Checkout * ============================================================ * * PURPOSE: Hides…
Expire pass when counter used up
This plugin makes All Access passes expire at the moment their download counter is used up.
Yootheme Consent - Scroll block
/* When the consent banner is present, lock the viewport */ html:has(.tm-consent), body:has(.tm-consent) { overflow: hidden…
WWQ - Hide Add to Quote button from regular customers
add_filter( 'wws_wq_quote_button_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_cart_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_checkout_html', 'wwq_restrict_quote_button_to_wholesale' ); function wwq_restrict_quote_button_to_wholesale( $button_html )…
Remove Post Title from Yoast Breadcrumb
/* Remove Post Title from Yoast Breadcrumb */ add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' ); function remove_breadcrumb_title( $link_output) { if(strpos(…
CSS Hide regular price
.original-computed-price ins:first-of-type{ display:none; }
Add CSS classes to apply for vendor label
/** * Add CSS class to apply for vendor label in a registration * * @param…
home slider html
if (is_front_page()) : ?>