When you say
But that made everything below the navigation disappear. do you mean that the page broke? This is most likely a PHP error.
You can debug this error by turning on DEBUG_MODE in your
You are posting too much code above for me to see any potential issues. Please reduce your code to the bare skeleton to determine why any errors are happening.
Use a simple debugging technique like:
<?php echo '<pre>'; print_r($variable); echo '</pre>'; die; ?>
on each line to view variable data and see visually that your code made it to that line without breaking.
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!