Button It Up version 1.2 released

With the release of my first public WordPress plugin last monthย I received encouraging nods and tweets from the community, as well as some constructive feedback. One user requested a very specific set of changes:

Paris,

Thanks for making this plugin! After reading your article a while ago, I went and wrote this exact plugin but luckily found yours before I submitted it to the repository. No need for more than one of these.

I checked out the plugin and discovered one bug and a few ideas ๐Ÿ™‚

The Bug

  • Youโ€™re styling the div#wp-content-media-buttons rather than a#content-add_media. That leads to ALL media buttons (like the Gravity forms icon) to show up in one weird integrated โ€œbutton.โ€ See here: Weird button with Gravity Forms.
  • If you change the element youโ€™re styling to the link instead, youโ€™ll also catch the Quick Pressโ€™s โ€œInsert Mediaโ€ button which is currently unstyled. Itโ€™s tempting to style ALL links in that row, but Iโ€™d shy away from that on the chance that other plugins style their own buttons.

Some Tweaks

  1. Style-wise, I wish the :hover and :active states more closely matched WordPressโ€™s defaults.
  2. To get really nit-picky, the WordPress admin buttonโ€™s have a border-radius of 11px.
  3. To make things a little more WordPress friendly, Iโ€™d use wp_enqueue_styles() hooked to the admin_enqueue_scripts hook to register the stylesheet.

So thanks again for making the plugin. If you incorporate these changes, Iโ€™ll definitely be adding it to all my client sites.

All of these tweaks made sense, so Iโ€™ve released version 1.2 with the above changes included. Download Button It Up 1.2[1] from the WordPress Plugin Repository to try it out, or from within the plugins section of the WordPress dashboard.

I hope these changes make the plugin more useful, usable and even desirable to the WordPress community. I look forward to more feedback.

Footnotes

  1. wordpress.org Back to reference 1

Comments

2 responses to “Button It Up version 1.2 released”

  1. Al ฦ Ks Avatar
    Al ฦ Ks

    it only work for dashboard area? or we can make all links on the whoole page buttonstyled clickable?

    1. Currently the plugin only affects a specific link in the admin area, the “Upload/Insert” button.

Leave a Reply

Your email address will not be published. Required fields are marked *