Skip to content

Using the wpex_template_parts Filter to Override Template Files

Move Header & Footer Outside of the “Boxed” Layout

function myprefix_move_header_footer_out_of_boxed_layout() { // Remove header/footer remove_action( 'wpex_hook_wrap_top', 'wpex_header' ); remove_action( 'wpex_hook_wrap_bottom', 'wpex_footer' ); // Re-add header/footer add_action( 'wpex_outer_wrap_before', 'wpex_header', 9999 ); add_action( 'wpex_outer_wrap_after', 'wpex_footer' ); } add_action( 'init', 'myprefix_move_header_footer_out_of_boxed_layout' );

Read more

Add Custom Button Styles

The 'wpex_button_styles' will allow you to add new button styles to the various Total Visual Composer modules such as the Portfolio Grid filter, the Total button, the pricing table...etc.

Read more

Add Custom Font To The Customizer

// Add custom font to font settings // This is for NON-Google Fonts // For google fonts see here: http://totalwptheme.com/docs/snippets/add-new-google-fonts/ function wpex_add_custom_fonts() { return array( 'My Custom Font' ); // You can add more then 1 font to the array!…

Read more

Enable HTML For Staff Position

By default the staff position output is escaped for security so HTML won't work. If you need HTML for the position here is a snippet you can use. This will still sanitize your output it's just a bit let efficient.

Read more

Remove All WooCommerce Prices

remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' ); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 ); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );

Read more
Back To Top