Set a Custom Email Header (copy)
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
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(…
WWPP & Elementor - Show correct wholesale prices in the Elementor side cart
/** * WWPP & Elementor: show correct wholesale prices in Elementor side cart. */ add_filter( 'woocommerce_cart_item_price',…
more feater
add_shortcode('product_features_boxes', function () { if (!function_exists('wc_get_product')) { return ''; } global $product; if (!$product || !is_a($product,…
Add CSS classes to apply for vendor label
/** * Add CSS class to apply for vendor label in a registration * * @param…
Preferred Smooth Scroll
Adds modern CSS smooth scroll to site while respecting user preferences.
home slider html
if (is_front_page()) : ?>
Plain Upcoming Events List Shortcode
The Events List block prints a fixed heading and calendar icons that are hard to restyle.…
Add data-no-optimize to all JS snippets
This snippet filters the output of all the WPCode JavaScript snippets to add the data-no-optimize parameter…
Show Left Sidebar Before Content on Mobile
By default the sidebar always displays below the content on mobile. This code will allow you…
Cache Time | Display Eventbrite Events
The free version has a cache time of 24 hours, for most uses this is fine…
Adjust Currency Symbols | Display Eventbrite Events
The Display Eventbrite plugin has a table that converts currency code to symbols. Sometime a user…
GA Tag-header
A GPTBOT FOR MY WEBSITE