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!
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.