Skip to content

Remove Author Links from Post Meta & Author Bio

Remove Author Links from Post Meta & Author Bio

// Remove author URL from bio add_filter( 'wpex_post_author_bio_data', function( $data ) { unset( $data['posts_url'] ); return $data; } ); // Remove author URL from WordPress the_author_posts_link function add_filter( 'the_author_posts_link', function( $link ) { if ( ! is_admin() ) { return…

Read more

Exclude Passed Events from Builder Elements

/** * Exclude Passed Events from Builder Elements. * * @link https://totalwptheme.com/docs/snippets/exclude-tribe-events-wpbakery/ */ add_filter( 'vcex_query_args', function( $args ) { $showing_events = false; if ( isset( $query_args['post_type'] ) ) { if ( is_string( $query_args['post_type'] ) && 'tribe_events' === $query_args['post_type'] ) {…

Read more

Remove Term Description from Paginated Pages

Most themes by default display the term description on all paginated pages of your taxonomy archives, however, you can easily hook into the WordPress term_description function to remove it from a paginated pages like such:

Read more

Center Align Header Style 1

@media only screen and (min-width: 960px) { body #site-header-inner { text-align: center; } body .header-one #site-logo { display: inline-block; float: none; height: 50px; line-height: 50px; } body .navbar-style-one { position: static; display: inline-block; left: auto; right: auto; top: auto; }…

Read more

Change WPBakery CSS Animation Offset

The WPBakery CSS animations use a renamed version of the waypoints script so that items animate once they become visible on the screen. The default offset value is 85% which means it will trigger when the top of the element…

Read more

Display Co-Authors in Post Meta

This snippet shows how you can display multiple authors via the Co-Authors plugin within the theme's meta section (this is the section that displays the post author, category, date..etc below the post title by default).

Read more
Back To Top