Hi there
I want to accomplish the following with 2 different views:
Post #1
Post #2
Post #3
AD #1
Post#4
Post#5
Post#6
AD#2
... and so on
As there is no relationship between a post and a ad, I cannot solve this with parent/child-logic.
Is it possible to nest the "ad"-view inside the "post"-view but force the "ad"-view to ever only show the next "ad" in the queue?
I already tried this with
wpv-item index="split..."
but it doesn't work as the "ad"-view always shows all the results or always the same filtered ones... but it should always show the ad "next in line"...
I hope you guys understand and appreciate your help with this matter.
Best
Philip
Dear Philip,
Thanks for the details, you are right, it is expected result that:
the "ad"-view always shows all the results or always the same filtered ones
But there is a workaround, you can edit the "ad" view, option "Ordering", choose "Random order", and option "Limit and Offset", choose display only 1 item. Then it will display a ad post with random order, it might be able to display different AD in different location,
Hi Luo
Thanks for your response. Unfortunately this won't work for me for the following reason:
One ad mustn't show twice - a random order wouldn't prevent that, right?
Is there another possibility?
Thanks
Philip
There isn't such a built-in feature within Views plugin, if you agree, we can take it as a feature request, currently, you can check our Toolset Contractors for it:
https://toolset.com/contractors/