Editor’s note: This blog post was updated on June 27, 2018. Instagram has deprecated much of this API. This widget still works, if you’re showing your own content. Even then, that functionality will be gone in 2020. It’s recommended you look into using...
Read More Using APIs to Integrate with WordPressCategory: Development
You Broke It! Better Error Handling So Your Errors Don’t Suck!
There you are. Face illuminated by the blue glow of the monitor. You’ve just finished passing the third of three sets of WP_Query arguments to a function that’s supposed to run a loop with the passed args. Except…arg is what you’re feeling right now because your loop…isn’t...
Read More You Broke It! Better Error Handling So Your Errors Don’t Suck!Unit Testing Your Plugins
So you have an amazing plugin, and it’s starting to get bigger and the bug reports are piling up (or better you are are starting a new plugin and you wanna do it right). Unfortunately getting PHPUnit to properly function with WordPress...
Read More Unit Testing Your PluginsDon’t Repeat Yourself! How to Create an Author Box Using the Gravatar API
Wouldn’t it be great if the box above could be automatically filled by your Gravatar profile? Tons of services auto-populate your info using Gravatar right? Why can’t my profile information (and social media info) just auto populate in WordPress too!? (NOTE: someone smarter...
Read More Don’t Repeat Yourself! How to Create an Author Box Using the Gravatar APIDisplay Likes, Tweets, Page Views, and Comment Counts in Posts
Here at WebDevStudios we do a bunch of heavy lifting for clients. It’s rare for us to install “XYZ plug-in” and call it a day. One client wanted to display likes, tweets, page views, and comment counts, via custom buttons, for about twenty posts on the...
Read More Display Likes, Tweets, Page Views, and Comment Counts in PostsHow to Replace WordPress Default Taxonomy Metabox with a Radio Select Metabox
There have been many times we have wanted to use taxonomies as a 1-to-1 ratio with a post or custom post types. This is arguably more effective than using metadata because as Alex King pointed out, using a taxonomy query is more...
Read More How to Replace WordPress Default Taxonomy Metabox with a Radio Select MetaboxHow to Set Up SSL with OSX Mountain Lion’s Built-In Apache
There are many tutorials out there, but for whatever reason I couldn’t get it work after a first pass. After a little help from some Twitter friends (thanks @ryandonsullivan & @andygambles!), I was able to pull together all the necessary pieces (read:...
Read More How to Set Up SSL with OSX Mountain Lion’s Built-In Apache