Alter WooCommerce Single Product Page Header Title
Move Breadcrumbs Trail
// Set breadcrumbs position to "custom" to remove from theme's default location // NOTE: This can now be done in the Customizer as well. add_filter( 'wpex_breadcrumbs_position', function() { return 'custom'; } ); // Place breadcrumbs above your page/post content /…
Custom Excerpt Output
The following snippet will allow you to alter the custom output for any excerpts used in the theme. By default the heme will try and locate the first paragraph of text on the site and create the excerpt from it…
Conditionally Disable Main Page Header Title
add_filter( 'totaltheme/page/header/is_enabled', function( $return ) { if ( is_singular( 'product' ) ) { $return = false; } return $return; } );
Add New “Standard” Font Options
function myprefix_add_new_standard_fonts( $array ) { $array[] = 'Century Gothicfunction myprefix_add, CenturyGothic, AppleGothic, sans-serif'; return $array; } add_filter( 'wpex_standard_fonts_array', 'myprefix_add_new_standard_fonts' );
Set Default Values for Post Metabox Settings
The Page Settings Metabox is added to override default theme behavior which you can use theme filters to override. However, you can also set "defaults" for the page settings metaboxes so when you create a new post it auto selects…
Easy Custom Post Type Entry Override
Allows you to create your own file in your child theme for your custom post type entries. You can use this method for any post type archive or custom taxonomies defined via a Custom post types plugin such as the…
Remove Titles From WooCommerce Product Entry
remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10 );
Override Header Menu Search Style
add_filter( 'totaltheme/header/menu/search/style', function( $style ) { $style = 'overlay'; return $style; } );
Conditionally Alter The Callout Content
add_filter( 'totaltheme/footer/callout/content', function( $content ) { // Alter content for the portfolio posts. if ( is_singular( 'portfolio' ) ) { return 'MY CUSTOM CONTENT'; } // Return content. return $content; } );