Create Snippets! This plugin adds a new Post Type. Snippets can be included in Posts/Pages/Widgets via shortcodes.
[snippet_template slug="" /]. This works the same as a normal
[snippet slug="" /]shortcode; except with a Snippet Template shortcode, any additional attributes that you specify are used as replacement code values in the Snippet content. For instance, you might have a Snippet with content that includes this replacement code:
%%type%%. Now create your Snippet shortcode like this to fill that value dynamically:
[snippet_template slug="my-slug" type="product" /]; where
%%type%%is now replaced by
Requires: 3.3 or higher
Compatible up to: 4.2-alpha
Last Updated: 2015-2-3
Active Installs: 1,000+
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?