This snippet will make it so when a filter item is clicked it scrolls down to the items. This can…
Important: This shouldn't be necessary anymore, by default the parent style.css file should load first. So before using this code…
add_filter( 'wp_get_object_terms', function( $terms ) { if ( $terms ) { $excluded_terms = array( 100, 40 ); // array of…
By default if you add a stretched row in the WPBakery Page Builder (formerly known as Visual Composer) it won't…
Simple go to your child theme's functions.php file and replace the function that enqueues the parent CSS file with the…
Important: This snippet has been deprecated because we've released a plugin so that you can accomplish the same thing but…
The Total theme includes various built-in color accents to choose from for buttons. If you need to add custom options…
// ScrollTo and Open VC Toggle/FAQ // Usage: Give your toggle a unique ID // Then link to it like…
Total has the ability to assign images to your categories/terms if you are working on some custom code and you…
add_filter( 'wpex_shortcodes_tinymce_json', function( $data ) { // Alter the default insert code for the button shortcode $data['shortcodes']['vcex_button']['insert'] = ''; //…
// YOUR LOOP CONTENT HERE
// Add new page setting add_filter( 'wpex_metabox_array', function( $options, $post ) { // Add new setting to main tab for…
// Example to override the Top Bar Content // See Total/framework/template-parts.php for the array of template parts add_filter( 'wpex_template_parts', function(…
The 'wpex_button_styles' will allow you to add new button styles to the various Total Visual Composer modules such as the…
function myprefix_hide_vc_params() { // Only run function as needed and make sure WPBMap class exists if ( ! class_exists( 'WPBMap'…
/** * Set default settings when switching themes * See all default setting id's at framework/customizer/settigs/[base].php */ function my_default_total_settings() {…
// Add more elements to the accent color backgrounds function my_accent_backgrounds( $elements ) { $elements[] = '.your-custom-class'; return $elements; }…