Create Snippets! This plugin adds a new Post Type. Snippets can be included in other Posts/Pages/Widgets via Shortcodes. A very lightweight plugin!
Author: | WebSharks, Inc. (Jason Caldwell) (profile at wordpress.org) |
WordPress version required: | 3.3 |
WordPress version tested: | 4.2-alpha |
Plugin version: | 150201 |
Added to WordPress repository: | 10-02-2013 |
Last updated: | 03-02-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 9 |
Plugin URI: | http://www.websharks-inc.com/product/wp-snipp... |
Total downloads: | 7 868 |
Active installs: | 900+ |
Click to start download |
This WordPress plugin is VERY simple; NO configuration options necessary.
This plugin adds a new Post Type. This plugin makes it SUPER easy to reuse fragments of content (i.e. Snippets). Snippets can be included in other Posts/Pages/Widgets via Shortcodes. This is a very lightweight plugin for WordPress!
After installing this plugin, create a new Snippet (find menu item on the left in your WordPress Dashboard). Give your Snippet a Slug (i.e. under the title of your Snippet). Once you have a Snippet and a Slug, you can include your Snippet anywhere you like — in other Posts/Pages/Widgets (and even inside PHP/WordPress template files).
Using a Snippet that you've created in the WordPress Editor. Follow this simple Shortcode syntax.
[snippet slug="my-cool-snippet" /]
Using a Snippet that you've created inside a PHP template file.
<?php echo do_shortcode('[snippet slug="my-cool-snippet" /]'); ?>