Develop

WordPress: Changing the Default Avatar Size

The Issue

The default size for WordPress’s avatars is 48px…pretty small. A lot of sites these days are using much larger avatars, a trend that I really like. I wanted the avatars on this site to be larger, so I did a little searching and found that (of course) WordPress has a built in parameter that allows us to make this change easily.

Read More

Develop

Custom MetaBoxes and Fields: Show MetaBox on Condition

So there is an amazing project on GitHub that I’ve been utilizing for just about a year, Custom MetaBoxes and Fields for WordPress. It’s similar to the Advanced Custom Fields plugin, but there are some things about it I like more…one of those being that it’s not setup like a plugin and I can build it with unlimited flexibility into my client solutions.
Read More

Develop

Pass PHP Code Inside of a WordPress Widget [without plugins]

I don’t consider myself a “theme developer”. I’m not spending months developing a bulletproof theme, reselling it and then providing continuous support for hundreds of users on Theme Forrest. Rather, I build custom themes that are tailored (fig 1.0) to my clients specifically. That being said, I don’t always give them access to “everything”…but one area I find they nearly always ask to take control of is the footer.
Read More

Develop

WordPress: Simple Image Substitue if no Featured Image is Selected

WordPress Post Thumbnails (also known as Featured Images) are a great feature that was added to WordPress in version 2.9. Though not “required” and often times not even utilized, there are certain instances where forgetting the post thumbnail will break a layout or the functionality of your page.

For example, I recently developed an eCommerce site where we were using the WP Featured Image as the default image for the shopping index page. There were often times when the client would be adding a large quantity of products at once, and would forget to select the post thumbnails. Or, another senario…let’s say that same client has a product they want to list, but there is no image available, for whatever reason they would like to list the product and come back to it later.

Read More