I’ve noticed that the page link field only works when I’m logged in as an admin. When logged out the URL is blank. This happened a couple months back and I’m not sure if it ever resolved or if I had to do something to fix it. The pages I’m linking to are both published on the site.
There was a thread about this back in 2014 that required a change to post_status check in post_object.php from ‘any’ to ‘publish’, ‘draft’, ‘private’, etc. but that was fixed back then.
I’ve just tested it on my installation but failed to reproduce the issue.
It’s possible that there’s a conflict on your site. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.
Also, could you please share the JSON or XML export file of your field group so I can test it out on my installation?
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users