• Hello. I have s problem when using custom post type taxonomies. I have 2 taxonomies regarding the Ubytovanie (accommodation) custom taxonomy, which I would like to add to the search form. The 2 taxonomies are: lokalita (location) and kategoria_ubytovania (accommodation type). When I do so, the search form displays only the first search field. Anny suggestions?

    You can see the issue here: https://gron.reznicek.sk/search/

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have exactly the same problem, i have a custom type Parks with 3 taxonomies: Facilities, Sport Fields, and Rec Areas. The shortcode

    [searchandfilter fields="sports_fields,recreation_areas,facilities"]

    only show 1 select menu for the first taxonomy, the other two do not populate

    I have used this plug-in for a few projects and in my experience you need to have a category to make it work properly – otherwise only the first taxonomy works if at all. I believe this has something to do with how WordPress shows results:

    No Category, No Results

    [searchandfilter post_types=”graduate_program” fields=”discipline,location,delivery” headings=”Select a Discipline,Select a Location,Select a Delivery Type” submit_label=”Search Programs”]

    Search result URL:https://www.myurl.org/discipline/chemistry/?location=nebraska&post_types=graduate_program

    Category, Correct Results

    [searchandfilter post_types=”graduate_program” fields=”category,location,delivery” headings=”Select a Discipline,Select a Location,Select a Delivery Type” submit_label=”Search Programs”]

    Search result URL: https://www.myurl.org/category/chemistry/?location=nebraska&post_types=graduate_program

    Try making one of your custom taxonomies a category instead and see if that works. Alternatively, you may be able to change the category base under permalinks to see if that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom post taxonomies not showing’ is closed to new replies.