This is less of a post, and more of a useful snippet. I’ve seen many posts online about sorting an array of names by surname, and they’ve all failed to be complete. Here is my addition to the pile. Keep in mind that it has known issues with compound last names that contain a space, like “Von Zinger”, “Mac Innis”, or “Di Vece”. However, it is a more robust solution than many others online today.
One of the more complicated things to handle in wordpress is creating a “team” page that is attractive and easy to maintain. Many designers use pre-packaged plugins that remove a level of control, or create these pages as flat pages with complicated custom layouts (sometimes with the assistance of Visual Composer or another complicated shortcode library).
The same issue tends to carry over to other ‘aggregate’ pages like “board of directors” or “testimonials”. However, it’s actually fairly simple to implement these pages as a Custom Post Type, giving content-editors a simple post interface to add and delete team members, and making front-end layout a simple job for a custom template and some css.
read more »
Let’s face it, responsive images are a real pain in the neck.
As a web designer, I want complete control over picture dimensions at any size; but i am constantly compromising designs to deal with the constraints of user-provided images. These constraints are well known to any designer: read more »
My office wanted to hold a drawing a few weeks ago, where people would share a photo with the company name as a hashtag, and one random poster would win a gift card. These are great contests to boost a business’s social standing, but with so many hashtag friendly social networks, it’s hard to choose a winner in a fair way.
My bookmarklet for Hashtagr selects a random post in the list, scrolls the browser window to it, highlights it with a red border on the bottom, and opens an alert box that declares that poster as the winner. To use the bookmarklet yourself, simply drag the bookmarklet below to your bookmarks, go to a hashtag feed on hashtagr.co, and click the bookmarked link.
Today, I received a comment on a post I made years ago on instructables.com, describing my build of a custom USB foot pedal. The commenter was a 73 yr old knitter, who was interested in finding a way to count her rows with a foot pedal. I decided to make it happen.
It took me about an hour and a half to create a web app that could integrate with a cheap usb foot pedal ($11 on amazon) and increment a counter. (the proof of concept actually only took 15 minutes, but I wanted to add goals, customization, and better overall user experience).
I loaded the code onto github, hosted the app on my site, sent the commenter a response, and posted the app to reddit’s knitting community. Since then (5 hours ago), I’ve gotten 20 replies from knitters around the world, who have added my app to their workflow.
The lesson here is, “if you are prolific and can solve problems quickly, you will find an audience.”
Here’s the link: http://gschoppe.com/projects/knitting-row-counter