Skip to content

Active Menu Item When Viewing Portfolio Posts

Get & Display Term Thumbnail

Total has the ability to assign images to your categories/terms if you are working on some custom code and you want to grab these it's very easy, see the example below.

Read more

Insert Blog Meta into Page Header

add_action( 'wpex_hook_page_header_inner', function() { // Only add on blog posts if ( ! is_singular( 'post' ) ) { return; } get_template_part( 'partials/blog/blog-single-meta' ); }, 40 );

Read more

Disable CSS Animations on Mobile

/* Disable animations on mobile devices */ body.wpex-is-mobile-device .wpb_animate_when_almost_visible { opacity: 1; filter: alpha(opacity=100); -webkit-animation: none; -moz-animation: none; -o-animation: none; animation: none; }

Read more

Add Xing to Staff Social Profiles

// Add new staff social profiles add_filter( 'wpex_staff_social_array', function( $profiles ) { $profiles['xing'] = array ( 'key' => 'xing', 'meta' => 'wpex_staff_xing', 'label' => 'Xing', ); return $profiles; }, 40 );

Read more
Back To Top