Home › Forums › ACF PRO › Custom Post Title with Front End Form ? › Reply To: Custom Post Title with Front End Form ?
Hi @huwrowlands
I’m afraid this structure needs you to edit your permalink settings on “Settings > Permalinks”:
http://www.domain.com/listings/post-id-number/france/barcelona/.
For the second link structure, i believe you can use acf/save_post hook to do it.
You can use wp_update_post() function based on the custom field. Be caution with the infinite loop, though. This page should give you more idea about it: https://codex.wordpress.org/Function_Reference/wp_update_post#Caution_-_Infinite_loop.
I hope this helps.
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.