Forums Forums Search & Filter Pro Search & Filter Pro with GD Rating System Pro

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #203517

    Hi Trevor,

    I’m probably reaching for this one but…

    Are you familiar with the plugin GD Rating System Pro?

    I’m trying to figure out how to integrate the ability to search the ratings using Search & Filter Pro. I had to insert the following to filter by post ID limiting to specific categories.

    Insert into post-single.php right before

    
    <?php endif; ?>
    
    <?php if (in_category(array(25, 3, 161, 132, 41, 136, 26, 177, 133, 176, 243, 85, 134))) {
        gdrts_posts_render_rating(array('echo' => true));
    } ?>

    I’m probably asking too much of your plugin but thought I would ask.

    Thank you for any help.

    Art

    Anonymous
    #203518

    BTW, the there would be about 500 Post IDs to search.

    Trevor
    #203520

    Curiously, you are not the first to ask:

    https://support.searchandfilter.com/forums/topic/hide-empty-taxonomies-customize-no-results-page-and-sort-by-gd-ratings/

    That might help, as that plugin stores its data in custom tables, but can be asked to store it in the post_meta table, which means we can search and filter it.

    Anonymous
    #203522

    Thanks Trevor, will check it out.

    Anonymous
    #203539

    Yep, that worked. In case anyone wants to know you must enable Sync Meta first before running and it will show up as _gdrts in post meta.

Viewing 5 posts - 1 through 5 (of 5 total)