Home Forums General Issues opening time for store, an idea? Reply To: opening time for store, an idea?

  • Hello,

    ACF I know, I already use
    I know customize display fields on my template,
    until the no worries.

    I just try to find a logic to display hours for stores.

    Automatic template or I simply between the hours, the days are already present in the back office …

    A condition

    Show hours of shops

    If I click yes

    it displays the days already record, just for me just add hours

    If not

    nothing to do


    I can see like that,
    but I try to see if we can help it and just

    <?php if( get_field('hour_monday') ): ?>
    Monday: <?php the_field('hour_monday'); ?>
    <?php endif; ?>
    <?php if( get_field('hour_sunday') ): ?>
    Sunday: <?php the_field('hour_sunday'); ?>
    <?php endif; ?>

    thank you