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