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 )…
.woocommerce .product .add_to_cart_button { display:none; }
/** * Alter the default post slider position * * Default : 'below_title' * Choices : 'below_title', 'above_title', 'above_menu', 'above_header',…
You may have noticed that the Total theme includes a Theme Settings Metabox that displays below your posts and pages…
add_filter( 'wpex_main_metaboxes_post_types', function( $types ) { // Add to my custom-type post type $types[] = 'custom-type'; $types[] = 'custom-type-2'; $types[]…
The following snippet allows you to override the default placeholder image HTML output for your main shop page and archives.…
function my_menu_cart_icon_html( $html ) { $html = 'YOUR CUSTOM HTML'; return $html; } add_filter( 'wpex_menu_cart_icon_html', 'my_menu_cart_icon_html' );
add_filter( 'wpex_woo_outofstock_text', function( $text ) { return esc_html__( 'MY CUSTOM TEXT', 'wpex' ); }, 20 );
// Example 1: Change the output completely. add_filter( 'wpex_mobile_menu_toggle_icon', function( $output ) { return 'YOUR CUSTOM TEXT OR HTML'; }…
By default if you are going to change the text of your search form in WordPress, we would recommend using…
function my_category_slider( $slider ) { // Display the "test" revolution on category archives if ( is_category() ) { $slider =…
function my_custom_search_style() { return 'blog'; } add_filter( 'wpex_search_results_style', 'my_custom_search_style' );
function my_child_theme_locale() { load_child_theme_textdomain( 'total', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'my_child_theme_locale' );
This snippet shows how you can alter the default meta viewport tag in the theme. By default the theme uses…
// Custom Logo add_filter( 'wpex_header_logo_img_url', function( $logo ) { // Change image for your front page if ( is_front_page() )…
By default the theme logo will always link to the homepage. The following snippet shows how you can change the…
function my_related_portfolio_excerpt_length( $length ) { if ( is_singular() ) { $length = '0'; } return $length; } add_filter( 'wpex_portfolio_entry_excerpt_length', 'my_related_portfolio_excerpt_length'…
.related-portfolio-posts .portfolio-entry-excerpt { display: none; }
body .related-portfolio-posts-heading { display: none; }