Purely CSS Fixed Header Style One
The Total theme's sticky header is very complex as it takes in a lot of data because Total allows for control so for example if a user wants content above the header the theme needs to account for that. It…
The Total theme's sticky header is very complex as it takes in a lot of data because Total allows for control so for example if a user wants content above the header the theme needs to account for that. It…
Simply go in the Customizer and enter 0 for the number of items to display for the Upsells. No more need for a snippet!!!
By default the theme uses the title for the names of your staff members. However, if you need to sort your staff members by last name or if you want to do custom queries based on first or last names…
// Display the 'my_custom_sidebar' for the page with ID of 2 and all children of this page add_filter( 'totaltheme/sidebars/primary/name', function( $sidebar ) { if ( is_page() && ( is_page( '2' ) || '2' == wp_get_post_parent_id( get_the_ID() ) ) ) {…
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' );