Backrooms
Backrooms
WWQ - Allow quoting out-of-stock products
add_action( 'woocommerce_single_product_summary', 'wwq_show_quote_button_for_out_of_stock', 31 ); function wwq_show_quote_button_for_out_of_stock() { global $product; if ( ! $product instanceof WC_Product…
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(…
dd the "MSRP" or "MAP" label to the regular price for wholesale customers
/* WWPP - Add the "MSRP" or "MAP" label to the regular price for wholesale customers…
auto sort all media grids
add_filter('vc_media_grid_build_query', 'auto_sort_all_vc_media_grids', 999, 2); function auto_sort_all_vc_media_grids_v2($query_args, $grid_data) { // Работи само за Images режим с include…
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()) : ?>
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…
Escaping Data
// instead the _e(), __() or _x() use the escaped version _e('Email Summary', 'duplicator-pro'); // this…
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