Remove the Page Title from the Page Header
add_filter( ‘totaltheme/page/header/has_title’, ‘__return_false’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
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
add_filter( ‘wpex_social_share_data_email_body’, function( $body ) { return ‘My custom email body text’; } );Continue reading
add_filter( ‘wpex_social_share_data_email_subject’, function() { return ‘My custom subject’; } );Continue reading
#site-navigation-wrap .menu-item:hover:not(.current-menu-item) .link-inner::after { opacity: 0 !important; }Continue reading
add_filter( ‘totaltheme/replace_vars/vars’, function( $vars ) { // Add a new {{my_custom_var}} custom variable. $vars[‘my_custom_var’] = ‘My variable value’; return $vars; } );Continue reading
define( ‘VCEX_CALLBACK_FUNCTION_WHITELIST’, [ ‘my_custom_function_name_1’, ‘my_custom_function_name_2’, ‘my_custom_function_name_3’, ] );Continue reading
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