Home › Forums › General Issues › Using the URL of a relationship field item › Reply To: Using the URL of a relationship field item
@simonpointer try setting WP_DEBUG
to 1
or true
in your wp-config.php file. That will show you where errors are happening.
Just from a quick look, towards the end of your code you have a }
right before your endwhile;
. If you look above, you have foreach():
, so either change that to foreach(){
or change that }
to endforeach
. I hope this helps.
Phil
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.