Home›Types Community Support›[Resolved] How to make content appear in loop depending on date and time – part 2
[Resolved] How to make content appear in loop depending on date and time – part 2
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
For some reason my original thread was marked as resolved when it was not. And I am unable to change it back to "still need assistance". It would be more efficient to continue with the original thread. However, if that is not possible, I will repost my last reply here.
In that thread, I stated "I need to learn what conditional code to use so that a session will appear in the list according to its day/time."
in your reply you mentioned:
"This would be possible but you will need to setup multiple views for this. For e.g you will need to create a view for each of the days. then filter that view to only lists the posts for that day.
Then you will need to order the display by the time custom field..."
Could you please give me the exact code for that "filter"...with detailed instructions on where to put it in my functions.php file?
Also, what conditional code do I need to add to my existing code (posted below) to make that filter work? (this is the code I shared in the original post) As a reminder, I am still learning conditional coding so I need to know exactly where to put the code.
I can probably figure out how to order the display by the time custom field.