Skip Navigation

[Resolved] View is not presenting my results

This support ticket is created 4 years, 11 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.

Our next available supporter will start replying to tickets in about 0.05 hours from now. Thank you for your understanding.

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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Andreas 4 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1398371

I am trying to: present some data from my CPT in a view, but the content that Ive produced by "hidden link" won't be shown, just the content that I've imported manually by importscript

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

I expected to see: at the bottom some customer reviews,

Instead, I got: nothing 🙁

I've now deleted all filter, but there is still nothing. I've add one conditional filter to show one specific item, but it just works for the imported ones, but not for that ones that I've produced by "post-new.php". In the database I don't see any differences in wp-post and wp-postmeta. What can be the problem, here?
I can give you also the crendentionals for the backend, it is a development site...

Best Regards

Andreas

#1398723

Hi Andreas,

Thank you for contacting us and I'd be happy to assist.

Your view "Referenzenslider (Start)" used on the homepage, is set to show only those posts which have the "wpcf-objektnummer" custom field value equal to "12-985", through the conditional shortcode.

There is only one post "Erfahrung in Wunstorf mit RAPIDOsec Mauerentfeuchtung - 12985" ( hidden link ) which has this same value in this custom field, which makes only this one post eligible to show through this view.

However, the same view is also set to show these posts ordered by another field "wpcf-erstellt-am" in the "Ordering" section. And since this "Erfahrung in Wunstorf mit RAPIDOsec Mauerentfeuchtung - 12985" post doesn't have any value stored for this custom field, it is ignored by the view and no results are shown.

This is how WordPress Query works and therefore it is very important that if you're using any custom field to order the results, then all results should include some value in that custom field or they'll be ignored.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1398819

My issue is resolved now. Thank you!