Custom Post Gallery Loop
The Total theme includes the ability to assign images to your post via the Gallery Metabox (available for core theme post types but can be extended for other post types). If you want to create a custom module, shortcode or…
The Total theme includes the ability to assign images to your post via the Gallery Metabox (available for core theme post types but can be extended for other post types). If you want to create a custom module, shortcode or…
By default the topbar uses font icons for the social links. If you want you can easily use image icons instead. Simply go to the Customizer and change the style to Colored Image Icons (legacy) then you can use the…
add_filter( 'totaltheme/page/header/is_enabled', function( $return ) { if ( is_singular( 'post' ) ) { $return = false; } return $return; } );
By default the next and previous links in the Total theme display the title of the next/previous post. You can easily change this to your own custom text if you want via your child theme.
IMPORTANT: The Total theme has been updated in version 5.0 to override the default WPBakery stretched row behavior to use CSS only for stretching rows! This means stretched rows will load instantly and you don't need to use the code…
// Alter the related staff posts query function myprefix_custom_related_staff_args( $args ) { // Change order from random to name $args['orderby'] = 'title'; // Return args return $args; } add_filter( 'wpex_related_staff_args', 'myprefix_custom_related_staff_args' );
You can override any of the Total theme's custom widgets via your child theme. Simply copy the widget file from the Total Theme Core plugin under total-theme-core/inc/widges/ into your child theme (best to create a widgets folder in the child…
By default the Total theme disables the "more" tag because it has built-in custom buttons for your blog entries. However, you can re-enable it with the following function
The Total theme includes a "Secondary Thumbnail" field which is used for the "Image Swap" overlay style when using custom Visual Composer grids. However, you can make use of this field for anything you want! For example you can override…
By default if the theme see's that your post is using the more tag it will use that for the blog entry excerpts. If you want to ignore the more tag and use the theme's custom excerpt function you can…