Skip to content

Move Aside Content On Top Of Logo For Header Three

Move Aside Content On Top Of Logo For Header Three

// Move header aside content above logo by tweaking the action hooks function move_header_aside() { // Remove action remove_action( 'wpex_hook_header_inner', 'wpex_header_aside' ); // Re-add with higher priority add_action( 'wpex_hook_header_inner', 'wpex_header_aside', 0 ); } add_action( 'init', 'move_header_aside' );

Read more

Remove Recommended Plugins

This snippet can be used to remove the recommended plugins function from the theme. Note: In the latest versions of the theme you can disable this right via the main Theme Panel.

Read more

Disable the Menu Completely

// Disable the header menu. add_filter( 'totaltheme/header/menu/is_enabled', '__return_false' ); // Optional: Remove any Customizer header menu options. add_filter( 'totaltheme/header/menu/is_custom', '__return_true' );

Read more

How to Display Custom Menus Based on the Current Page

The Total theme includes a handy filter named "totaltheme/header/menu/wp_menu" which will allow you to conditionally alter the ID of the main menu so you can easily display different menus for your main header menu depending on the current page/section of…

Read more

Create Unique Sidebar Template Files

/** * Display different sidebar templates for your site * Requires Total 2.0.3 or greater */ function my_wpex_get_sidebar_template( $template ) { // Display sidebar-cars.php for your "cars" custom post type if ( is_singular( 'cars' ) || is_post_type_archive( 'cars' ) )…

Read more

Re-Order Social Sharing Sites

// Re-Order Social Sharing Sites function my_wpex_social_share_sites( $sites ) { // Define the sites in your own order $sites = array( 'twitter', 'facebook', 'google_plus', 'pinterest', 'linkedin' ); // Return sites return $sites; } add_filter( 'wpex_social_share_sites', 'my_wpex_social_share_sites' );

Read more
Back To Top