79 Responses

  1. Kevin
    Kevin December 3, 2009 at 12:49 pm | | Reply

    Just the kind of thing I am looking for, but would be nice if it had the WYSIWYG editor on it for people that don’t know HTML.

  2. Jeremy
    Jeremy December 3, 2009 at 1:53 pm | | Reply

    Another great plugin of yours, congrats!

    Just a quick question: can we include php code in the snippet? From your post, I’d say no, so if that’s the case do you have another plugin up your sleeves to help me do that? :)

  3. Patrick Daly
    Patrick Daly December 3, 2009 at 3:25 pm | | Reply

    Very nice. It’s a great improvement to helping novice users figure out how to update their sidebar for a particular page. For some reason they don’t quite grasp `if(is_page(‘about’))` ;)

  4. Bryan Harley
    Bryan Harley December 3, 2009 at 4:32 pm | | Reply

    Excellent job! Does this also have a template tag we can use? Or is it Widget only?

  5. andri
    andri December 3, 2009 at 10:02 pm | | Reply

    Thanks for the recommended plugin… i like to try it :)

  6. Markus
    Markus December 4, 2009 at 6:52 am | | Reply

    nice plugin :) it works perfect

  7. Jake
    Jake December 4, 2009 at 8:22 am | | Reply

    This looks to be a very useful plugin. Having the ability to control widget presentation from the post editor motivates me to provide more dynamic content in the sidebar because of the convenience factor. I’ll have to make it a point to integrate this into my site.

  8. Robert
    Robert December 4, 2009 at 3:58 pm | | Reply

    This is a very useful plugin especially when used on a magazine style site. I haven’t looked at it yet but one question popped into my mind: if you put the Snippets widget into more than one widget area, would it be possible to choose in the post meta box which snippet widget should display the content?

  9. Olivier
    Olivier December 4, 2009 at 6:47 pm | | Reply

    Very clever. For my clients who are “editors” of a website and who cannot see the widget area… You save my life ;-) Gonna use it right now !

  10. Aqasha Khan
    Aqasha Khan December 5, 2009 at 12:27 pm | | Reply

    the plugin looks cool. can we set a default snippet that appear in every post? or we need to customize it one by one in every post.

  11. lewis
    lewis December 5, 2009 at 1:00 pm | | Reply

    Great idea. thanx for sharing the information. I will surely going to use this.

  12. Mark
    Mark December 5, 2009 at 1:15 pm | | Reply

    Sweet! I have been having issues with my video configuration on my blog. This should solve my problem much easier then I was trying to do it. Thanks mate!

  13. Charley
    Charley December 5, 2009 at 5:32 pm | | Reply

    Justin,

    Thanks for sharing this plugin. Great Idea. Having a problem with the Excerpt header covering the snippit box…tried deactivating it and then reactivating it but that didn’t help. I have the latest install of WP and plugins. Could be a another plugin conflicting with it. Any suggestions?

  14. Rob Cooper
    Rob Cooper December 5, 2009 at 5:44 pm | | Reply

    Nice, very nice. The applications for this plugin are endless. Just what I needed

  15. Ike
    Ike December 6, 2009 at 4:48 pm | | Reply

    @Justin —

    Again, sir, you are a genius. I have run across an application where this was the exact functionality I needed, and you have provided exactly the solution.

    @Kevin –

    For the time being, just use the regular visual editor to generate the code, then cut the HTML version and paste it into the Snippet box.

  16. Dave Smith
    Dave Smith December 7, 2009 at 7:31 pm | | Reply

    My question is the same as Robert above. Since we can now have widgets in more places than just the sidebar is it possible to have more than one snippet widget with different content in each. Ex. One Snippet in the sidebar widget, one in the Footer widget and different content in each based on the field that is populated in the post editor?

    This would be as you say “Going Wild” with this plugin. BTW, fantastic plugin and it isn’t just for the newbie. Sometimes we don’t want spend time (or have time) to do it with code. This plugin greatly simplifies unique content for each post.

    Thanks so much for a fantastic and useful plugin.

  17. Dax Davis
    Dax Davis December 8, 2009 at 6:34 am | | Reply

    I’m in the same boat as @Dave Smith and @Robert above. This Plugin is exactly what I wished I had for a previous project. And I’m now about to create a large CMS site where this would be invaluable. BUT, they have multiple content areas per page.

    I dropped the widget into more than one widget area and went to the edit screen expecting to see more that one post meta box (or one with sub fields for each widget). It would be invaluable to be able to have this functionality. I would think you would do what you have now but add a container for each that has the default title as the header to help differentiate (and/or the widget area title with default title).

    Any chance of this happening?

    Dax

  18. Lån
    Lån December 8, 2009 at 10:10 am | | Reply

    Hi Justin! Like Jeremy, It would certainly be great if this will support PHP. I am one of those who use Exec-PHP and it doesn’t seem to be updated that much, although it works fine on WP 2.8+ versions. (At least that’s what I see when I look at it directly from searching through the plugin search panel on my WP.) Would be great if we get options, one that is newer and freshly maintained, on this type of plugin (that execute PHP code) especially when it seems another major version of WP is coming out soon. Cheers! :)

  19. My Snippet Plugin | Real Estate Blog Lab December 8, 2009 at 11:29 am |
  20. Robert
    Robert December 9, 2009 at 5:00 pm | | Reply

    @Dave Smith, @Dax Davis, I have made some mods to the Snippets widget to allow selecting a position if the widget has been used more than once in sidebars. I have sent the code to Justin so he can review it and include it in the next plugin release if he thinks it’s OK.

  21. Josh
    Josh December 10, 2009 at 12:21 am | | Reply

    Great plugin and concept. This plugin will definitely come in handy. Thanks!

  22. shawn
    shawn December 17, 2009 at 1:00 am | | Reply

    Is there any possible way to include the wp gallery button within the snippet admin box? that way instead of having to paste in code, the user could select an image from the gallery and link that to another page, lightbox, external link etc.. Or they could select a video and have it embedded, same with audio etc..?

    I was even thinking for those that use the kaltura video system, we could even have the kaltura browse/upload button there like we do in posts?

    Could even link it to a shopping cart image like a book for sale that relates to the article

    Man the ideas are endless….

    p.s.
    +1 for php_exec(with permissions), and also multi-snippets

    oh…does it work with wpmu?

    1. Robert
      Robert February 23, 2010 at 12:03 am | | Reply

      Yes it works with WPMu. Just install it as a regular plugin.

  23. beautyrest black
    beautyrest black December 17, 2009 at 12:53 pm | | Reply

    This is a great, simple plugin. As a general newbie I wasn’t even aware that this could be done manually. And frankly, I’d much rather use this plugin than mess around with the code. As others have mentioned, this would be great to be able to use in more than one place on the page. -James

  24. Dax Davis
    Dax Davis December 17, 2009 at 2:01 pm | | Reply

    @Robert, thanks a lot! I appreciate that. Hopefully he will like it!

  25. Reinar Svendsen
    Reinar Svendsen December 21, 2009 at 3:58 pm | | Reply

    You’ve done it again Justin. Very handy feature indeed.

    Merry Christmas y’all

  26. Thomas Clausen
    Thomas Clausen December 29, 2009 at 8:10 am | | Reply

    I too am very exited about this.It just makes things a bit more easy (and cool).Like many of the others above, I would love to use snippets in more than one place on a post.

    Thanks for the great work Justin.

  27. Adam Silver
    Adam Silver December 29, 2009 at 3:53 pm | | Reply

    That sounds really useful! I have a few articles lined up which I would like to include videos in so I’ll experiment with this widget. Might make a nice custom image gallery too.

  28. Blogger Den
    Blogger Den December 30, 2009 at 9:40 pm | | Reply

    Nice share dude! I’m glad I ran into this blog, you have some great content here and I can’t wait to share it! I have a great Digg-style site for bloggers and internet marketers and I’m sure your post here will end up on the front page, so I’ll submit it and check back with your blog soon. Keep up the awesome work

  29. aurora
    aurora December 31, 2009 at 10:17 am | | Reply

    is this plugin is available for wordpress 2.9? I’m using that version of wordpress right now…

  30. Matt
    Matt January 2, 2010 at 12:59 pm | | Reply

    Great plug in. Thanks!

  31. saad
    saad January 6, 2010 at 5:20 pm | | Reply

    thanks for sharing, i’ll give it a try, my theme always gets messed up when i install some plugins hope this one will work fine. :\

  32. Chang Tana
    Chang Tana January 8, 2010 at 3:34 pm | | Reply

    Man. This plugin rock… Thanks

  33. komicwords
    komicwords January 16, 2010 at 8:32 pm | | Reply

    really nice plugin I should give a try to my own site, thanks for the share

  34. paul
    paul January 17, 2010 at 12:40 pm | | Reply

    Justin

    Great plugin!
    Maybe you know how to fix this : I have added a shortcode to a text widget, which displays some content in a widgetized area.
    But the content div genereated by the shortcode appears before the widget div:

    instead of

    Your plugin places the content correctly inside the widget div, so maybe you can tell me how to achieve the same effect?

  35. Forbrugslaan
    Forbrugslaan January 18, 2010 at 9:10 am | | Reply

    Great Plugin !
    Very usefull, thank you for sharing it.

  36. Web templates
    Web templates January 19, 2010 at 5:57 am | | Reply

    wow, great discovery! I always looked for something like that. +1 for you Justin, thank you very much!

  37. nagradne igre
    nagradne igre January 24, 2010 at 4:57 am | | Reply

    Nice plugin Justin. Thank you very much!

    greetings, nagradne igre

  38. Dave Thackeray
    Dave Thackeray January 24, 2010 at 10:41 am | | Reply

    You don’t need to be told this, Justin, but you’re a mastermind. This is fantastic.

    A quick question: how could I style the header of this widget differently to the headers used for other widgets in my single post sidebar?

    Thanks!

  39. Mike M.
    Mike M. January 25, 2010 at 7:48 am | | Reply

    Thanks for the plugin JUSTIN!

  40. batu permata
    batu permata February 19, 2010 at 11:51 pm | | Reply

    Another amazing plugins from wordpress ..
    I suppose it is the best wordpress than others,,,
    interesting article from you,,
    and of course, also written by a professional person like you,,

  41. MostlyBlog
    MostlyBlog February 22, 2010 at 4:50 am | | Reply

    good plugin i will try this on my blog thanks for sharing

  42. Vikas Rathi
    Vikas Rathi March 2, 2010 at 5:27 pm | | Reply

    You rock man. I am new to your blog. Thank you so much for sharing such a nice plugin. Keep it up.

  43. N_S
    N_S March 5, 2010 at 10:59 pm | | Reply

    This is an awesome plugin Justin, well done for your hard work.

    Is it possible to get multiple snippet post settings for one single post, i.e 3, to insert a google map, videos and extra info?

    Will it be included in future updates or can you help me modify the codes please, I’ll pay a fee.

    My email and twitter is attached here.

    Thanks.

  44. Tom
    Tom March 16, 2010 at 8:59 pm | | Reply

    Been looking for something like this all day. Got it working on one of my blog. Thanks for the plugin work perfectly.

  45. SFGolfer
    SFGolfer April 20, 2010 at 5:56 pm | | Reply

    For what it’s worth, there is a slight mistake in the spelling (two ‘ss’) when viewing the list of plugins.

    It appears as: My Snippetss

  46. Michael Groeneweg
    Michael Groeneweg May 3, 2010 at 3:31 pm | | Reply

    Hi there,

    First of all: Awesome plugin! Was looking for this for quite some time :)
    The only thing I can’t figure out is the way the text/html appears on my website.

    There is no margin or padding at all. The text just appears right next to the start of the widget ( to the border to the left). Is there any way I can add a padding to this plugin so it will appear more centered and in alignment with the rest of my widgets?

    Thanks in advance!

  47. dave
    dave September 4, 2010 at 1:52 pm | | Reply

    I am trying to have a widget displayed for a specific user but unfortunately I cannot get it to work.

    I have found out how to get the current user id and display a text for this user only, but I don’t know how to convert to Widget Logic code.

    This is what I am trying to do:

    Can anyone tell me how I can get the above to work with Widget Logic?

  48. Philmouss
    Philmouss November 30, 2010 at 8:41 am | | Reply

    Thaks Justin this just a great and useful plugin !

  49. Bil från tyskland
    Bil från tyskland March 5, 2011 at 8:59 am | | Reply

    Thanks for this plugin, im using it already on 3 of my sites :)
    Very powerful .

  50. Juan
    Juan May 28, 2011 at 7:01 pm | | Reply

    You are my savior ;-)

    been looking for this plugin for a long time – didn’t even think it existed.

    thank you!!!

  51. Juan
    Juan May 28, 2011 at 10:58 pm | | Reply

    Spoke too soon I guess ? Trying out your snippet on one of my custom city portal themes and nothing seems to be happening – it worked fine on WP default theme.

  52. Tom
    Tom August 9, 2011 at 4:39 pm | | Reply

    Sound exactly what im looking for if it can display html and javascript together. Will try it out. Thanx!

  53. sergio
    sergio September 18, 2011 at 2:58 pm | | Reply

    Does this plugin still works for current WP version?

    I like the idea. It’s both post snippets and Widget Logic together.

    You should rename the widget as “Post related Widget”, or something like that.

  54. Markus
    Markus September 25, 2011 at 4:00 pm | | Reply

    This plugin works for the current WP verision (my answer to sergio that have written above me).

    Anyway, im using this plugin alreday on all of my sites. I dont see anything bad with it. Cred to you Justin. Because this is a very powerful plugin.

  55. Bantningsmetoder
    Bantningsmetoder October 13, 2011 at 11:27 am | | Reply

    Sound exactly what im looking for if it can display html and javascript together. Will try it out. Thanx!

  56. Izrada Sajtova
    Izrada Sajtova November 7, 2011 at 7:58 pm | | Reply

    Justin thank you again
    this smart plugin saved my day.

    I had to convert html site to WP and only solution was this Snippets plugin.
    Some wide (widget) content different on every page was real problem.

    I know you said above U do not like Visual editor, but can be handy here :)

    regards

  57. John
    John December 19, 2011 at 11:09 pm | | Reply

    test site using a city theme which uses “places” instead of posts makes this plugin pretty much useless – Q = how difficult would it be to make your plugin work with custom post types ?

    anyone that can make this happen for a reasonable fee $$$ ?

    much appreciated -

    thx JC

Leave a Reply

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution.

Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.