weareinspired
Forum Replies Created
-
Thank you, Blaz.
1. How do I “utilize the rmp_archive_results filter to hide ratings on archive pages only for these posts”? If I disable: Settings > Archive Pages > Show ratings on archive pages, the results widget is disabled on Blog pages, which I do not want…
2. Where do I add this code?
function blazzdev_exclude_category( $content ) {
if ( is_category( ‘test-category’ ) ) { // adjust the slug
return false;
} else {
return $content;
}
}
add_filter( ‘rmp_archive_results’, ‘blazzdev_exclude_category’ );Thank you, Blaz.
1. How do I “utilize the rmp_archive_results filter to hide ratings on archive pages only for these posts”? If I disable: Settings > Archive Pages > Show ratings on archive pages, the results widget is disabled on Blog pages, which I do not want…
2. Where do I add this code?
function blazzdev_exclude_category( $content ) {
if ( is_category( ‘test-category’ ) ) { // adjust the slug
return false;
} else {
return $content;
}
}
add_filter( ‘rmp_archive_results’, ‘blazzdev_exclude_category’ );I have double-checked IDs and they are correct. Plugin is properly disabled on post. (Just not blog or filtered results page)
Hello, I am having the same issue.
Disable rating plugin on certain posts is working only in part, NOT excluding from the blog page, like it used to.
Please see https://care-coop.com/resources/, all posts with the word “Story” in the title (Dave’s Story, Sandy’s Story, Siri’s Story) should NOT show any result widget.
Thank you!
Melissa