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:
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 🙂
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.
Style-wise, I wish the :hover and :active states more closely matched WordPress’s defaults.
To get really nit-picky, the WordPress admin button’s have a border-radius of 11px.
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 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.
After years of admiring this print by the legendary Japanese artist, Hokusai, I’ve realized the colors are just as dramatic as the composition. So I decided to extract a few hues and create a color palette.
I chose colors from the boats, the sky and, of course, the waves.
For you web designers out there, here is the HTML hex code for each color from top to bottom:
The Great Wave Off Kanagawa by Hokusai is probably my favorite piece of fine art. I caught glimpses of it growing up in American culture, but didn’t know anything about the work until I studied it in art school.
Turns out the iconic scene is actually a woodblock print and not a painting, and its part of a series based on that little mountain you can see in the background. For some reason I fell in love with the piece in college when I found a huge poster print version for sale on a table piled with other pop art and cultural icons. From then on, the famous painting followed my through life…
I proudly displayed it in my room during college.
Then I hung it over my desk when I got an office job.
At one point, the image was my desktop background.
A coworker and good friend bought me a sketchbook with the painting printed on the front.
After getting married I brought it home and managed to hang it over our bed… briefly. Something about the imminent death of those sailors didn’t sit well with the wife as a pre-bedtime meditation.
Until I get my home office situated the historic image sulks in my closet. Nevertheless, it lives on as my current desktop background.
And finally, I sold my old poster at a garage sale while raising funds to start a business. Someday we’ll meet again Hokusai.
All it does, for now, is change the style of the upload insert button to look like an actual button.
Other than creating consistency throughout the UI, the main reason for this tweak is to make the button more find-able for first-time WordPress users. Hopefully this tweak, or a better version of it, will make it into WordPress core.
Until then, you can use this tiny plugin to make the WordPress admin more usable for your clients.
Today is my grandmother’s birthday. A great woman you’ve never heard of who made a huge impact on my life. This is a little poem I wrote for her. Dedicated to Winnie Irene Woods, my grandma (1924 – 2012):