Home › Forums › General Issues › opening time for store, an idea? › Reply To: opening time for store, an idea?
Good evening,
as I said yesterday I have a track but I do not know if this is the best way,
Here are the source code
<?php if( get_field('opening_hours') ): ?>
<div class="news-v3 margin-bottom-60">
<div class="news-v3-in">
<h2>Opening hours</h2>
<br><br/>
<p>
Monday: <?php the_field('monday'); ?> <br/>
Tuesday: <?php the_field('tuesday'); ?> <br/>
Wednesday: <?php the_field('wednesday'); ?> <br/>
Thursday: <?php the_field('thursday'); ?> <br/>
Friday: <?php the_field('friday'); ?> <br/>
Saturday: <?php the_field('saturday'); ?> <br/>
Sunday: <?php the_field('sunday'); ?> <br/>
</p>
</div>
</div>
<?php endif; ?>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.