Skip to content

Custom Date Shortcode (can be used with Slider Revolution)

Show/Hide Row on Click

Below is some javascript for creating a simple toggle row show/hide functionality. The way it works is you would give any element that has a link the classname "my-hidden-row-toggle" (as always change my- to your unique prefix), give the row…

Read more

Add a New Built-In Button Color Option

The Total theme includes various built-in color accents to choose from for buttons. If you need to add custom options you can hook into the theme's filter to add new settings. See the example below. This will add the new…

Read more

Add New Options to the Top Bar Social & Social Links Element

The Total theme has various functions for displaying social links on the site and in Total 4.4 we've aded a global filter named "wpex_social_profile_options_list' which can be used to add/remove items from the social profile options as well as modify…

Read more

Add a Fallback Featured Image for Blog Posts

This is a simple way of adding a "fallback" image for your blog posts if you want a specific image to display when there isn't a featured image defined. Now, if you want there is a more complex way that…

Read more

Remove the WPBakery Post Grid Blue Fallback Featured Image

function myprefix_remove_vc_grid_fallback_img( $output ) { if ( ! get_post_thumbnail_id() ) { return; } return $output; } add_filter( 'vc_gitem_template_attribute_post_image_url', 'myprefix_remove_vc_grid_fallback_img', 99 ); add_filter( 'vc_gitem_template_attribute_post_image_background_image_css_value', 'myprefix_remove_vc_grid_fallback_img', 99 );

Read more
Back To Top