Once you have a loop working, you shouls attempt to print out each loops day and time data.
Your next step will be to add some logic WITHIN the loop to determin if the current row matches the current time. You can get the current time in PHP via the time, or date function. Please use google to find docs on how to get the current time in different formats.
You can then simply compare the sub field values (get_sub_field) with your current day / time variables and allow the loop to render the row, or use ‘continue’ to skip the row.
Hope that helps.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users