Hmm… When I add the code you just wrote, I get the error:
Fatal error: Cannot redeclare custom_post_title() (previously declared in /home/movies9/public_html/msv6/wp-content/themes/Media/functions.php:1824) in /home/movies9/public_html/msv6/wp-content/themes/Media/functions.php on line 1884
When I remove my old code (mentioned above) that seems to be causing the conflict in the functions.php file, the permalink+heading2 no longer works and I’m left with the heading2 being left out of the URL again with nothing changing no matter how many times I hit the Update post button.
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!