WordPress.org

Support

Support » Plugins and Hacks » Popularity Posts Widget » [Info] Query for category filter

[Info] Query for category filter

  • for those who failed to filter by categories… i found slight bug in the query..

    open class_popularity-posts-widget.php
    on line 259, change:
    “WHERE x.taxonomy = ‘category’ AND t.term_id IN ($res_cat)”

    to

    “WHERE x.taxonomy = ‘category’ AND x.term_taxonomy_id IN ($res_cat)”

    This solves my problem, and hope yours too

    https://wordpress.org/plugins/popularity-posts-widget/

  • The topic ‘[Info] Query for category filter’ is closed to new replies.
Skip to toolbar