• I want to be able to had hours for a business, for each different business on each page and then do 1 page that shows all businesses that use the hours from each page to show whats open or closed at that time they are looking on that 1 page??

    Does anything exist?

    More examples… I have a website with 10 different pizza businesses. 10 pages. each page has unique hours for that business. On a “Pizza Page”, I want to show all the pizza businesses with open hours at that specific time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    Take a look at the WP Store Locator: https://wordpress.org/plugins/wp-store-locator/

    There are also alternatives: https://wordpress.org/plugins/tags/store-locator/

    I don’t know exactly how this is setup, but to explain a common pattern:

    Each business could be a custom post type, and the page that displays them all could use that post type’s archive template. On that post type you could add a custom field that is pulled from each to display for each business within that loop.

    There are many plugins that allow for custom fields to be added, one that I have used a lot is Advanced Custom Fields but there are many others as well. To display a real time open/closed you’d need to write a bit of code to check the current time vs the set hours, but just a displaying them is fairly straightforward and they have plenty of documentation on how to do so if you’re comfortable with making code edits

    Is there something out of the box to handle all of this instead? You might want to compare the options in this list – I have not used nor can I vouch for these options but the ratings should speak for themselves. It would depend on your site which one makes sense to use in your case

    Hope that helps!

    Thread Starter BrettMelton

    (@brettmelton)

    threadi, I don’t think either of those will work. I instead used ACF Custom Fields and working with that to see if I can get this done. 🙂

    Thread Starter BrettMelton

    (@brettmelton)

    bvbaked – I’m trying it now. I have to use 3 other plugins to make this work. Quite annoying….

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.