Skip Navigation

[Resolved] Item will not show on Page unless it is “Published”

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

Problem:

Display taxonomy terms of draft status post.

Solution:

You can setup a taxonomy view, and disable option: Don't show empty terms

Relevant Documentation:

This support ticket is created 3 years, 6 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Brian Smith 3 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#2243811
image1.jpg

I am trying to: When we create an Endorser we have a term field that we populate with the artist's favorite mouthpiece. However, this particular mouthpiece was not shown on the artist, even though it was selected until we publish the artist. It would not appear while in Draft mode.

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

I expected to see:

Instead, I got:

#2244065

Hello,

I assume we are talking about a post view, and you are going to display posts including "Draft" status.

If it is, you can add a post status filter:
Select posts with status of publish or draft.

See our document:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-post-status/

#2244635
published-mode.jpg
draft-mode.jpg

Inside the dashboard when we select the "Favorite Mouthpiece" it should appear on the preview as with all the other ones, unfortunately, the DV NY Baritone 10 does not appear. I tried to show this in the images below I hope this helps understand the bug? I have created a staging site that is showing it occurring also, if you want access to it?

#2244719

Please provide your staging website credentials in below private message box, thanks

#2244769

Thanks for the details, the problem is: there is only one post assigned to term "DV NY Baritone 10", that post is the problem post "Brian Landrus", if you save this post as draft status, term "DV NY Baritone 10" will be taken as term with empty post.

I have done below modifications in your website:
Edit the taxonomy view "Categories Images and Links":
hidden link
In section "Query Options", disable option: Don't show empty terms

Edit the problem post:
hidden link
Save it as draft status, test it in frontend:
hidden link
I can see all three terms correctly

Please check if it is fixed, thanks

#2245275

My issue is resolved now. Thank you!