Display WooCommerce Category Description Above Loop
Important: There is now a setting built-into the theme in the Customizer under the WooCommerce tab.
Important: There is now a setting built-into the theme in the Customizer under the WooCommerce tab.
@media only screen and (max-width: 959px) { #site-header #site-logo { float: none; display: block; } } #mobile-menu { position: inherit; top: auto; right: auto; margin: 0; float: left; }
add_action( 'after_setup_theme', function() { remove_theme_support( 'yoast-seo-breadcrumbs' ); }, 20 );
/** * Append new query args to the social share url * Result in this example will return http://your-site.com/post-slug/?key=value * */ function my_alter_social_link( $url ) { return add_query_arg( array( 'key' => 'value', ), $url ); } add_filter( 'wpex_social_share_url', 'my_alter_social_link', 20…
// 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; }…
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.
function my_testimonials_page_title( $title ) { if ( is_singular( 'testimonials' ) ) { $title = get_the_title(); } return $title; } add_filter( 'wpex_title', 'my_testimonials_page_title', 40 );
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…
// 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…
// 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',…