WordPress.org

Forums

Advance WP Query Search Filter
Taxonomy - Exculde ID to Include ID (3 posts)

  1. greenEDV
    Member
    Posted 1 year ago #

    We work with many categories and would like to allow only a few categories in a search filter. Is it possible in your plugin to convert the "Taxonomy" from "Exculde" ID to "Include ID"? It is easier for us to make a choice.

    http://wordpress.org/plugins/advance-wp-query-search-filter/

  2. greenEDV
    Member
    Posted 1 year ago #

    Sorry, We could also find no function where we can find the einzelenen categories. Can this somehow adjust? So the categories are also displayed in the search?

  3. totu
    Member
    Posted 1 year ago #

    Change in /plugins/advance-wp-query-search-filter/html/searchform.php line 16:

    $args = array('hide_empty'=>$v['hide'],'exclude'=>$eid );

    to

    $args = array('hide_empty'=>$v['hide'],'include'=>$eid );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advance WP Query Search Filter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.