Snippets CPT

Snippets Custom Post Type

The snippets custom post type allows you to save snippets of code that can be easily reused on other pages with the use of the snippets shortcode. This can speed up the process of creating pages that include same content. For instance, if you have a button that states the current price, “Buy Now – $18”, you can easily add a snippet that displays this button. If your price goes up to $20, you only need to change the snippet custom post and all shortcodes/pages that use the snippet will be changed.

Enter your snippet into the content area, just as you would a page or post.

The Snippets custom post type does not have any metabox options.