Hide Related Posts on Events Plugin
-
I’m using Tribe Events Calendar, and in the Single View page for events, the Related Posts from Jetpack are showing. The biggest problem is that they appear before the event details (time/date/location). You can see it here
I tried using the following code to exclude JP’s Related Posts on a specific category, but it didn’t work
function jetpackme_filter_exclude_category( $filters ) { $filters[] = array( 'not' => array( 'term' => array( 'category.slug' => 'event' ) ) ); return $filters; } add_filter( 'jetpack_relatedposts_filter_filters', 'jetpackme_filter_exclude_category' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide Related Posts on Events Plugin’ is closed to new replies.