add_filter(‘woocommerce_default_catalog_orderby’, ‘quadlayers_catalog_orderby_for_category’); function quadlayers_catalog_orderby_for_category( $sort_by ) { if( !is_product_category(‘gramatas’) ) { return $sort_by; // modify gramatas category archive sorting } return ‘date’; }Continue reading
add_filter( ‘totaltheme/header/menu/is_custom’, ‘__return_true’ );Continue reading
add_filter( ‘totaltheme/topbar/social/link_attributes’, function( $attrs ) { $attrs[‘rel’] = ‘nofollow’; return $attrs; } );Continue reading
add_filter( ‘totaltheme/header/logo’, function( $output ) { return ‘‘; } );Continue reading
add_filter( ‘totaltheme/page/header/has_title’, ‘__return_false’ );Continue reading
// 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
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
add_filter( ‘wpex_nex_prev_reverse’, ‘__return_true’ );Continue reading