Skip to content

Remove Theme Meta Generator

Remove Theme Meta Generator

This is used for support so we know what version of the theme you are using. It causes no harm having it in there, but if you must remove it here is how.

Read more

Hide WooCommerce Cross-Sells

body .cross-sells { display: none !important; } .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100% !important; }

Read more

Use Featured Image For Page Header Background

/** * Will use the Featured image as the background when selecting the * Background Image page header style. * * @link http://totalwptheme.com/docs/snippets/alter-the-page-header-style/ * @link http://totalwptheme.com/docs/snippets/post-featured-image-header-bg/ * */ function my_page_header_background_image( $image ) { if ( has_post_thumbnail() ) { $image =…

Read more

Alter The Sticky Shrink Header Height

function my_custom_sticky_header_height( $array ) { $array['shrinkHeaderHeight'] = 100; // EDIT THIS. //$array['shrinkHeaderLogoHeight'] = 70; // Uncomment and edit to alter logo height return $array; } add_filter( 'wpex_localize_array', 'my_custom_sticky_header_height' );

Read more

Add New Social Options To The Social Links Widget

/** * Add New Social Options To The Social Links Widget. * * @link https://totalwptheme.com/docs/snippets/add-new-social-options-to-the-fontawesome-social-widget/ * @deprecated 1.4.9 */ add_filter( 'wpex_social_widget_profiles', function( $array ) { $array['medium'] = array( 'name' => 'Medium', 'url' => '', ); return $array; } );

Read more
Back To Top