Skip Navigation

[Resolved] taxonomie view filter not showing any results

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to filter his view by a taxonomy but his view is returning no results.

Solution:

This usually happens when the criteria that is being search for is not met. I would check that the taxonomy that you are using to filter is available on the CPT that you are filtering.

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 6 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#617361

I am trying to:
Set up a view that shows 'project posts' with the taxonomy categorie 'Projecten in uitvoering'. I'v 2 projects with that categorie but the view tells me there are no results.
I'v another view on a different page with the same settings, that one also isn't showing the taxonomy term 'Projecten in uitvoering'.

Link to a page where the issue can be seen:
hidden link the empty view

hidden link the page with the same view but the filter 'project categorieën' isnt showing the categorie 'Projecten in uitvoering'

I expected to see:
2 projects, with the taxonomy term 'projecten in uitvoering', and it should look like the page 'gerealiseerde projecten'

Instead, I got:

#617455

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-02-19 at 9.52.28 AM.png

Hello,

Thank you for contacting our support forum.

Actually I see that the issue why you get no results found is that you added the view to the page but didn't see where you told the view to display a specific taxonomy.

See Screenshot.

Once you've specified a category it should how.

But is it that you want to setup a search like this page here : hidden link

Please let me know.
Thanks,
Shane

#617460

Hi Shane,

Now i did select a term, but it still shows no items found.
And i'm sure there are 2 projects with that category

#617547

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

The next issue was that the view was set to sort by the production year but the CPT it was displaying doesn't have a production year as a custom field hence why its not returning anything.

I remove the sort order for the production year and the items start showing up.

Please let me know if this helps.

Thanks,
Shane