This support ticket is created vor 3 Jahren, 4 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
i checked it and function is working! - But if the last Slide with aktiv, dont loop to first? How can i release this?
Look into my View versteckter Link - i do two conditions in it - it works.
But if i do this around the content-template: it dont loop to first.
[wpv-conditional if="( '[datetime postidmy='[wpv-post-id]']' eq 'aktiv') AND ( $(wpcf-highlight) eq '1' )"]
right its aktiv
[/wpv-conditional]
[wpv-conditional if="( '[datetime postidmy='[wpv-post-id]']' ne 'aktiv')"]
wrong its not aktiv
[/wpv-conditional]
The above filter code will help us to find first all the posts with highlight equal to 1 and then we loop through every found post to find its related repeating field group posts and we will check if the date is greater than today's date then we will display the post otherwise we will skip the post.
Can you please confirm it works as expected now. I can see it also loop back to first post in slider.
But tell me: my Way can work too, logical, or? Why it dosn't work?
==>
It was logical but your solution will not work in this case as we will require to pre-filter the view results before it gets displayed. With using your solution it was hiding the loop item content using condition but it will not remove the posts Completely the result set that is why we will require to pre-filter the views results.
And: can i put this code twice, of course if i rename functionname, in an other view as well?
==>
Yes - you can.
May I kindly ask you to open a new ticket for every new question you may have. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue submitted. This ticket already become a story of three long pages.