Home › Forums › Feature Requests › Use ACF as a custom shortcode generator › Reply To: Use ACF as a custom shortcode generator
I cloned completely Post Type generator from https://generatewp.com/post-type/.
Something as my own helper and for my own use, not public. Those guys have very educative website and generators.
77 ACF fields just for this part.
Layout can be done much simpler then on their webiste, but decided for now not to use one row flexible content or repeaters. Maybe later when I get use to all this. Those two fields make preview template very long and complicate to visually follow, edit, add.
And one custom code Metabox to preview template. Just called preview template with “require_once”, can be placed everywhere. Best solution, because it is set it ad forget it. Any code change in preview template is directly reflected in preview Metabox.
It can be done easy, just need much time. I finished it for one day. Others will probably take much less time. I can reuse and adapt preview code template.
Not “insert in editor content area” option, but not needed for this project.
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.