My Custom Widget for Your Custom Blog

My Custom Widget

Sledge Hammer

This is what I call a sledge hammer of a plugin.   It has everything including the kitchen sink.   I don’t know where to find the kitchen sink, but I know it has to be there.

First,   When you install this thing you are going to look at the options page (Under Settings) and if you are new to code you will pretty much freak out.   Don’t, leave everything the way it is (if you don’ t know what to customize) and it will work fine.

To create a new Widget you will find under (Appearance) My Custom Widgets.   Give your widget a name and click on the pencil.   If it is PHP code you want to drop in the edit window then select PHP if HTML then HTML.     I have found from using it that if your widget doesn’t work with one selected try the other one.   I have one where there is PHP and HTML mixed together.   The HTML setting worked the PHP did not.

My Custom Widget Edit Screen from Appearance Menu

My Custom Widget Edit Screen from Appearance Menu


Save the widget.   It is that funny looking graphic to the right.   Once it is save you will have the option of viewing the finished product at the bottom of that screen.   This makes it a lot easier than saving inserting testing and editing again.   In essence you have a preview of the widget below the editor.   I like this feature a lot.

Once you are happy with the widget you go to the Widget page again under (Appearance).   The name you provided should appear in the available widget list to the left.   Add it and place it where you want. in the list.   Save and you are good to go.

You can open the widget for edits in the widget page.   No need to go back to My Custom Widgets if you want to add a tweak or two.

My Custom Widget Perfect for Scenius Code

I started testing this plugin in the first place because the Fun with Widgets plugin wouldn’t work with the Thesis theme.   So I went looking for another simple way to get Scenius code into a widget.   What I ended up with was a better and simpler solution than using the Fun with Widgets Plugin.

I have been using the Widgetize Anything plugin as well for PHP code in a widget.   I like the way My Custom Widget editor works and gives me a preview option.

I’ve replaced two plugins with one and I’m happy with the results.

There is a lot more to this plugin.   Like I said there is a kitchen sink in there somewhere.   You can do some amazing customization with this plugin.   Try it out I think you will find some useful applications for it.

I’ve found it very handy to use for putting custom widget code generated from widget websites right into a new My Custom Widget and they work every time.

Comments

  1. Good point! I think I will add a small note that appears when the user is visiting the options page the first time which will refer to the appearence menu. No need to scare anyone… ;o)

    Janek (plugin-author)

  2. @Janek – Thanks for stopping by the Lab. I hope you got the idea I love your plugin.

    I noticed you didn’t tell us where the kitchen sink in located. Maybe in a future upgrade.

    Thanks for dropping by.

    Dave

  3. We’ve used a combination of Widgetize Anything and the Text widget to accomplish most anything. Both have been quirky at times.

    We are resurrecting an old site and placing a WP blog on it. I’ll give My Custom Widget a shot. Thanks for sharing this Dave.

    Colleen ´s last blog post..Kennewick Homes For Sale | This One Rocks!

  4. Interesting, thank you for the info and link.
    I also, need an already configured plugin for under each post that gives info about the author. Any suggestions?

  5. Hey,
    What exactly do I put into the Widget box to display only one page? All I need is an example and I can switch around the page names to wigiditize for other codes.

    Can someone share some code? All the instructions are saying “put php code” and no example of what to put is being shared.

    I have several posts on my site and would like to add custom Amazon text to each post. This is a great plugin but I;m at wits to figure out the code part.

    regards
    Marlon

  6. Marlon,

    You can also put plain HTML code in the custom widget editor.

    Use the post editor to build your page references and links then copy and paste the html into the custom widget editor. Once you save it the widget you have created can be dropped into your sidebar.

    Dave