Home › Forums › Front-end Issues › Relational if get › Reply To: Relational if get
Hi @serviceweb
Regarding your first request, I’m afraid I don’t see what’s wrong with the code. Could you please explain it to me in more detail and share some screenshots of the issue on the backend and front end?
Regarding your second request, could you please try the following code?
<?php if ( get_field('tariffa_mensile_1') || get_field('tariffa_mensile_2') || get_field('tariffa_mensile_3') ) : ?>
<tr>
<td>
<strong>TARIFFA MENSILE</strong>
</td>
<td>
<?php the_field('tariffa_mensile_1'); ?><br>
<?php the_field('tariffa_mensile_2'); ?><br>
<?php the_field('tariffa_mensile_3'); ?>
</td>
</tr>
<?php endif; ?>
Hope this helps. Thanks!
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.