Home › Forums › ACF PRO › Best Approach to Premium Theme Use? › Reply To: Best Approach to Premium Theme Use?
If you’re going to have a parent/child theme layout, if this was me I’d actually put the JSON in the parent theme and either add a load location or load them manually. But that would be your call. I personally think the less code that’s needed in a child theme the better.
If there is already and existing page to use as an example you could use ACF to get the values from a “Template” post and insert them into the new post when it’s created. Or you could output all of the values from a “Template” post and hard code them into an array and then use that array to generate a new post. To be honest there’s a lot of ways that something like this could be done, but I don’t think there is any automatic way to copy everything from one post to another when a new post is created… well, there is, but nothing that I know of that can be called from code when someone clicks on “Add New” https://wordpress.org/plugins/duplicate-post/
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!
The new features in ACF 6.1 mean we’ve nearly doubled the number of translatable strings, and we need help translating them into your language. See how translations are progressing and how you can help at the link below. https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 17, 2023
© 2023 Advanced Custom Fields.