Forums › Forums › Search & Filter Pro › Hide Empty Removing Non-Empty Tax Fields?
Tagged: hide empty, Taxonomies
- This topic has 16 replies, 2 voices, and was last updated 8 years, 4 months ago by Trevor.
-
Anonymous(Private) June 19, 2016 at 6:57 pm #48846
I’ve got a bit of a weird problem with showing authors from my authors taxonomy (I’m using Co-Authors plus, so can’t use the default Author field).
With “Hide Empty” unchecked I get the full list, which shows polly.mackenzie with a post count of 1.
When I tick “Hide Empty” it hides my empty fields AND poor Polly! She gets hidden as well.
I’ve triple checked my settings and can’t see anything that could be causing this behaviour.
Is this a known bug? Something else?
Any ideas how I can get Polly back before she starts yelling at me?
Anonymous(Private) June 19, 2016 at 7:02 pm #48848Link to page: http://radix.org.uk/work/
Screenshots:
Anonymous(Private) June 20, 2016 at 12:42 pm #48900Hmmm… That’s bizarre!
She’s listed as a Co-Author (using Co-Authors Plus), but so are Joe Zammit-Lucia, Nick Silver and Corrado Poli on the 13th June Test Work Doc, and they show up fine…
Waaaaait… No, it’s starting to come together in my mind now. Those three also have opinion posts (where they’re attributed as the PRIMARY author for the default “post” post type).
So it seems they’re COUNTED as being a contributing author, and return as having posts, but that “Hide Empty” only shows them when they’re listed as the primary author on the default “post” post type?
Seems to me to be the way that the plugin returns “empty” fields for Taxonomies (specifically, in this case, Co-Authors, stored under the “author” taxonomy). Any chance you guys can escalate this as a bug and look into it further?
Anonymous(Private) June 20, 2016 at 12:50 pm #48904Entirely possible. But I’d hazard a guess that if it’s finding her 1 post and failing to recognise it as a populated field it’s to do with your filters. That said, it could be a mix of both – the way CAP stores its count data and the way you guys return it, but either way if Ross could look into it I’d be eternally grateful! 🙂
Thanks so much for your help, Trevor! Have a great day!
Anonymous(Private) June 20, 2016 at 1:13 pm #48906Posted two new ‘Opinion’ posts (default “post” post type) – one with Polly as primary author, one with her as a secondary/contributing author.
Number of opinion posts shows as 3.
Removed the posts with her as primary author and just left her as a secondary/contributing author on one post, and the number shows correctly.
Let me know if you need any further information to investigate.
I’ll leave the temp login active if you need it!
-
AuthorPosts