Skip to content

Custom Post Type Post Thumbnail Arguments (size, alt, schema, style, etc)

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

Add A Single Testimonial Shortcode

By default the Total theme doesn't include a single testimonial shortcode but if you want to add one to your child theme it's very easy to do. Simply copy and paste this code into your child theme. You can tweak…

Read more

Move Header To Site Footer

// Move Header To Site Footer function myprefix_move_header_to_footer() { // Unhook header remove_action( 'wpex_hook_wrap_top', 'wpex_header' ); // Re-hook header // Change priority if you want it after the widget footer add_action( 'wpex_hook_wrap_bottom', 'wpex_header', 0 ); } add_action( 'init', 'myprefix_move_header_to_footer', 99…

Read more

Alter the Boxed Layout Inner Padding

.boxed-main-layout #wrap .container { padding-left: 50px; padding-right: 50px; } .boxed-main-layout .navbar-style-one { right: 38px; /* 50px - 12px */ } .boxed-main-layout #searchform-dropdown { right: 50px; }

Read more
Back To Top