WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Post Snippets

Keep a snippet library of text, HTML or PHP code to be used in posts. Variables can be set for more flexibility. Inserts directly or as shortcodes.

This plugin lets you 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 on insert. All snippets are available in the post editor via a button in the Visual and HTML modes. The snippet can be inserted as defined, or as a shortcode to keep flexibility for updating the snippet. PHP code is supported for snippets inserted as shortcodes.

Features

  • Insert All defined snippets is inserted from a button directly in the post editor.
  • Shortcodes You can use this plugin to create your own shortcodes.
  • PHP A shortcode snippet can optionally be evaluated as PHP code.
  • Buttons The snippets are available in the viusal editor with a TinyMCE button and in the HTML editor with a quicktag button.
  • Admin Easy to use administration panel where you can add, edit and remove snippets.
  • Variables Each snippet can have as many custom variables as you like, which can be used on insert.
  • Import/Export Snippets can be imported and exported between sites.
  • Uninstall If you delete the plugin from your plugins panel it cleans up all data it has created in the WordPress database.

Related Links

Requires: 3.3 or higher
Compatible up to: 3.9.2
Last Updated: 2014-4-17
Downloads: 69,230

Ratings

4 stars
4.9 out of 5 stars

Support

0 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3
100,1,1 100,1,1
100,1,1
0,1,0 100,2,2
0,1,0 100,3,3
0,1,0
100,3,3 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 83,6,5
67,3,2
50,2,1 100,1,1
100,2,2
100,1,1
75,4,3 100,1,1 100,1,1 100,2,2 100,3,3
100,1,1 100,1,1 100,1,1
100,1,1 100,2,2 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,4,4 100,2,2 100,2,2 100,2,2 100,7,7
100,4,4
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 83,6,5 100,1,1 100,1,1 100,1,1 100,1,1 100,2,2
100,4,4
0,2,0 100,1,1
100,1,1
100,1,1
50,2,1
100,3,3
100,1,1
100,1,1
100,4,4
100,2,2