Blog

WP Utility Short Codes Plugin – Free

WP Utility Short Codes Plugin – Free

Freebies, Plugins, Wordpress56 comments

This plugin lets you very easily insert utility boxes and buttons, which can be used for any number of things, such as drawing your visitors to important information. For example, download links.

56 Comments
← Older Comments
  1. Sergio says:

    Yes. But, when I only edit the word “button” to “box” and do not touch anything else it works.

  2. Try this exact code:

    [button type=download color=black size=normal]<a href="#">Download</a>[/button]

    If that works, to eliminate one variable (color, size, type) at a time, and test it after each try.

  3. Sergio says:

    Pippin,
    I may have found the cause of the issue ; I think , it was a conflict with the theme I am using in WordPress 3.0.5. Striking 2.2 is the Theme , the issue was that when trying to make a button with some word content into a link the result was a small button graphic on the left and the word content to the right with no working link.

    When I switched to WordPress default theme, Twenty-Ten , WP Utility Short Code worked perfectly.

    To resolved this , I went into WP Utility Short Code php file and did one small change. This is the change :

    From :
    }
    add_shortcode(‘button’, ‘button_shortcode’);

    function box_shortcode( $atts, $content = null )
    {

    To :

    }
    add_shortcode(‘xbutton’, ‘button_shortcode’);

    function box_shortcode( $atts, $content = null )
    {

    Then when inputting the short code instead of using [button] Content[/button] , you use [xbutton] Content[/xbutton]

    This seems to have fixed the issue.

    Thank you

    Sergio

  4. Excellent, glad it’s working.

  5. Karen says:

    Thanks – your plug in is exactly what I was looking for and has enabled me to put an “escape” button on the sidebar of my domestic violence website so people can leave the site instantly.

  6. Gabriel says:

    Hi your plugin rocks!!! Is there a way we can add more shortcodes?

  7. You can add as many as you want, as long as you are familiar with how to do it. The code is pretty simple, so it should not take long ti figure it out.

  8. Mabelle says:

    Awesome! =) I love it! Thanks!

  9. Gary says:

    Hi Pippin,
    A question:
    How can I change the colour of the text in the button (as opposed to the button itself), or is that defined by the theme I’m using and can’t be over-ridden?
    Thanks!

  10. You can do it through CSS. If you check the CSS file included with the plugin, you will see text colors defined for each button color.

  11. Gary says:

    Cool. Got it.
    Thanks!

  12. Michelle says:

    Hi, your plug-in exactly what I need, but I’m having two problems.

    1. The link won’t work right. It keeps sending me to my own webpage with an “Error 404 – Page Not Found” message. Here’s the coding I used for the link in case there are obvious problems:

    [button size=small color=red]Escape[/button]

    2. Is there any way to change the font size in the box? I tried using the html code , but that didn’t work.

    Thanks for the help!

  13. @Michelle – 1. Try using the HTML editor and placing the button around the anchor tags for the link. It may make a difference.

    2. You will need to edit the CSS file that is included with the plugin.

  14. g says:

    How can I modify this so that the button will accommodate text of any length?

  15. @g – you can either modify the button image, turning it into a sprite, then modify the HTML output to accommodate it, or you can change the button to use CSS only for the background, instead of an image.

  16. Pingback: Како да создадете WordPress кратенка - Борис Кузманов

  17. Kamran says:

    can i have the list of all the short codes please.??

  18. @Kamran – you can find a list in the Read Me file.

  19. Sasha says:

    Hi. I’m having trouble in just getting started. I think I must be missing something very obvious. I have installed and activated, but when I insert the code, the boxes which appear are always standard ‘blockquote’ boxes. None of the formatting ever appears. I don’t think I am accessing ‘your’ boxes or buttons at all.

    I can find no reference to your plugin in my dashboard, other than on the plugins page itself, where it show as activated. But I don’t seem able to use or access the plugin.

    Could your plugin be incompatible with my theme or another plugin?

  20. @Sasha – have you looked at the Read Me file? There won’t be noticeable signs of the plugin being active, except for the ability to use several more short codes. All available short codes are in the Read Me.

  21. Jean says:

    I can’t find the codes in the readme file – it just brings me to this page.

  22. @Jean – you mean that you don’t see the explanation of how to use the short codes in the ReadMe, and there’s just a link here?

  23. Any one tell me. Can fixed the button code??? I just click and add download button??

  24. Thanks! Just what I needed.

    I appreciate it :)

  25. @B2B Web Hosting – What’s the problem?

  26. Pat McKeithan says:

    Pippin, this is a great plugin for shortcodes. It was just what I was looking for to easily add some flair to some humdrum pages. Thanks for sharing with me. I will be watching your web for anything else you develop.

← Older Comments
Leave a Reply