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
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
My issue is resolved now. Thank you!