PostSnippets allows you to build a library with snippets of HTML, PHP code, or reoccurring text that you often use in your posts and pages.
You can use predefined variables to replace parts of the snippet. All snippets are available in the post editor via a button in the Visual mode. You can insert the snippet directly or as a shortcode to keep flexibility for updating the snippet. PHP code is also supported in PostSnippets and can be inserted as shortcodes.