Category: Archive
Set Header Menu as “Custom”
add_filter( ‘totaltheme/header/menu/is_custom’, ‘__return_true’ );Continue reading
Add Rel Nofollow to Top Bar Social Links
add_filter( ‘totaltheme/topbar/social/link_attributes’, function( $attrs ) { $attrs[‘rel’] = ‘nofollow’; return $attrs; } );Continue reading
Override Header Logo with Custom SVG
add_filter( ‘totaltheme/header/logo’, function( $output ) { return ‘‘; } );Continue reading
Remove the Page Title from the Page Header
add_filter( ‘totaltheme/page/header/has_title’, ‘__return_false’ );Continue reading
Remove Author Links
// Remove the author link from bio. add_filter( ‘wpex_post_author_bio_data’, function( $data ) { unset( $data[‘posts_url’] ); return $data; } ); // Remove the author link from code functions which display in post meta. add_filter( ‘the_author_posts_link’, function( $link ) { if…Continue reading
Show Left Sidebar Before Content on Mobile
add_action( ‘init’, function() { if ( function_exists( ‘wpex_content_area_layout’ ) && ‘left-sidebar’ === wpex_content_area_layout() ) { remove_action( ‘wpex_hook_primary_after’, ‘wpex_get_sidebar_template’ ); add_action( ‘wpex_hook_primary_before’, ‘wpex_get_sidebar_template’ ); } } );Continue reading
Reverse the Order of the Next & Previous Links
add_filter( ‘wpex_nex_prev_reverse’, ‘__return_true’ );Continue reading
Remove the Header Menu Underline on Hover
#site-navigation-wrap .menu-item:hover:not(.current-menu-item) .link-inner::after { opacity: 0 !important; }Continue reading
Move WooCommerce Category Description Below Products
add_action( ‘init’, function() { // Disable subheading on product cats add_filter( ‘totaltheme/page/header/has_subheading’, function( $check ) { if ( is_tax( ‘product_cat’ ) ) { $check = false; } return $check; } ); // Display description below loop add_action( ‘wpex_hook_content_bottom’, function( $bool…Continue reading