Skip to content

Display WooCommerce Category Description Above Loop

Display Blog Post Featured Image As Page Header Background

// Changes your blog page header style to background image if a featured image exists add_filter( 'totaltheme/page/header/style', function( $style ) { if ( is_singular( 'post' ) && ! $style && has_post_thumbnail() ) { $style = 'background-image'; } return $style; }…

Read more

Full-Height Header One Menu

The following CSS can be used to give your header style one a full height so that your menu items are the same height as the header itself.

Read more

Display Page Title Above Content

This snippet allows you to automatically display the page title inside the content instead of the header area. If you wish to remove the header area completely or remove the title from the page header area we have snippets for…

Read more

Alter The Related Portfolio Entry Thumbnail Size

// Alter the related portfolio thumbnail size function my_portfolio_entry_thumbnail_args( $args ) { if ( is_singular() ) { $args['size'] = 'wpex_custom'; $args['width'] = 50; // Enter the width you want $args['height'] = 100; // Enter the height you want } return…

Read more

Re-Order Staff Social Links

// Re-order your staff links (move the array items around to your liking) function my_staff_social_array( $profiles ) { // Return profiles return array( 'twitter' => array ( 'key' => 'twitter', 'meta' => 'wpex_staff_twitter', 'icon_class' => 'ticon ticon-twitter', 'label' => 'Twitter',…

Read more
Back To Top