Definitely admin. And that looks perfect. Thank you so much for the reply! Seems like I might have to just take the leap and ask for some budget.
(wish I could mark your reply as the answer but it’s not my thread, unfortunately)
Unfortunately, I’m working with ACF 4. If this is only on ACF 5, could you perhaps show me screenshots of this with a user admin please (how the settings look, how it looks on front-end, etc)? I would love to pay for Pro if I can be sure that it will be able to fill all the requirements for this project but until then, I’m stuck with ACF 4.
I’m curious about this as well. Is there any update on how this can be done?
Ah, brilliant. Thank you! Not that experienced with code like this (and that original snippet I found off some tutorial somewhere).
It worked, with some minor typo fixes in your code. Thanks again!
$url = get_permalink($post_id);
$_POST['return'] = ($url);
Yes I am. I’m not on ACF Pro, however (so I’m working with the limitations of ACF 4. Sorry for not mentioning that sooner.). So if I use
'return' => '%post_url%',
Then I get brought to this url: http://mydomain.com/%post_url%?post_id=127
Which loads up as:
Bad request!
Your browser (or proxy) sent a request that this server could not understand.
Error 400
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.