You can use the wpex_{location}_template_id filter to override any theme location Below is an example showing how you could override…
This code will insert a searchform into the default theme's page header title area (where the title and breadcrumbs normally…
add_filter( 'wpex_post_subheading', function( $string ) { if ( is_singular( 'post' ) ) { return get_the_date(); } return $string; } );
add_filter( 'wpex_page_header_classes', function( $classes ) { $classes[] = 'container'; return $classes; } );
body .page-header.background-image-page-header { background-position: bottom center; }
// Add custom code inside main page header add_action( 'wpex_hook_page_header_inner', function() { ?> Your custom code here <?php }, 40…
add_filter( 'wpex_display_page_header', function( $return ) { if ( is_singular( 'product' ) ) { $return = false; } return $return; }…
// Remove title from page header (keeps breadcrumbs) add_filter( 'wpex_has_page_header_title', '__return_false' );
This snippet shows you how you can define a custom background image to be used on all blog posts. Simply…
Whenever you disable the main page header title for any page there will no longer be any space between the…
The wpex_page_header_title_args filter can be used to alter the main page header title html tag, string (text) or the schema…
/** * Will use the Featured image as the background when selecting the * Background Image page header style. *…
function my_disable_page_header( $bool ) { if ( is_page() ) { $bool = false; // this will allow meta options to…
This snippet allows you to automatically display the page title inside the content instead of the header area. If you…
/** * Example for changing the page header styles * Available styles: centered, centered-minimal, hidden, background-image * */ add_filter( 'wpex_page_header_style',…
The following snippet can be used to modify the page header title subheading text. In this example you can see…
// Example showing how to alter the page title, adjust accordingly to match your needs add_filter( 'wpex_title', function( $title )…