WordPress.org

Ready to get started?Download WordPress

Plugin Directory

My Snippets

Allows you to add custom widget content on a post-by-post basis from the edit post screen.

Why was this plugin created?

I love plugins like Widget Context and Widget Logic, which allow you to add contextual widgets. But, the thing that those plugins don't do is give you a way to add widget content without visiting the Widgets admin screen in WordPress.

I wanted a way to add a widget on a per-post basis when writing the post itself, so this plugin was born.

No, it's not a replacement of the aforementioned plugins but, rather, a complementary plugin.

How do I use it?

First, you need to add the "My Snippets" widget to any sidebar on your site. It won't appear on the front end just yet though.

Any time you write a post, you can add a custom snippet title and content in the "My Snippets" meta box. If you write something in the meta box, it will automatically be shown in place of the widget when viewing that post on your site. If nothing is written in the meta box, nothing will be shown for the post.

Does it work for other post types?

Yes, it works for all publicly-queryable post types. Basically, if your post type has its own "page" on the front end of the site, you can add custom snippet content.

What else do I need to know?

That's pretty much it. This is an extremely simple plugin.

Requires: 3.6 or higher
Compatible up to: 3.7.1
Last Updated: 2013-10-8
Downloads: 4,979

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,2,2
100,7,7
100,3,3
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,2,2
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1