Add New Widget Area Above Content on Mobile
This code will register a new widget area (Mobile Sidebar) above your site content for mobile only (to display at your mobile menu breakpoint).
This code will register a new widget area (Mobile Sidebar) above your site content for mobile only (to display at your mobile menu breakpoint).
If for some reason you wish to remove the WooCommerce thumbnails from the entries (shop/archive/related) you can do so using the code below.
If for some odd reason you need to remove the links to your WooCommerce products from the entries you can do so using the following snippet.
By default when using the WPBakery Accordion element whenever you click on a new item it will change the URL in the browser, the following snippet removes that functionality and prevents the URL hash change.
By default, the Total theme replaces WooCommerce’s built-in lightbox with its own enhanced version. It also makes each image clickable, opening directly in the lightbox. This approach is generally more user-friendly than WooCommerce’s default method, which places a small icon…
This snippet will insert the default meta output used on the blog into the Blog Grid & Carousel modules right below the title.
The following snippet will alter the default date in the WPBakery Post Grid module with the last modified date.
/** * Register new block for the Post Content element. * * @link https://totalwptheme.com/docs/snippets/custom-block-post-content-module/ */ add_filter( 'vcex_post_content_blocks', function( $blocks ) { $blocks['my_custom_block_callback'] = 'My Custom Block Name'; return $blocks; } ); /** * Callback function for the "my_custom_block_callback" Post Content…
If you enable the Dev style Header it will load all the header components but without any CSS. Here is some basic CSS to get you started if you can use if you want a left logo, left menu and…
In WordPress there is no way to use the core WP_Query class to pull items from different multisite installations. For this reason if you want to insert a Total module on a multisite that queries items from a different site…