Ok, so you’ve read my previous articles on PHP basics and how to use WordPress action hooks. Now you want to play with the big boys and girls and try your hand at filters. Just a reminder that you are still essentially learning a new language. Be patient with yourself. It took me close to […]
Blog
Nav Menu Roles Plugin
Display or hide menu items based on user role
Over the weekend I was working on a project and my client needed to be able to hide certain menu links from non-logged in users. In the past I have just created 2 menus, one for logged in users, and another for logged out users. Not the most convenient thing ever, but simple enough. However, […]
Absolute PHP Basics for WordPress Newbs
Programming Concepts You'll Need to Succeed with WordPress Theme Development
“I’m just a designer. I’m comfortable with CSS but PHP scares me.” Yeah ok, well first off, if you are a designer…. instead of banging your head into a wall to learn a coding language, why not hire a developer? Some of my best clients have been designers. It is kind of a win, win. […]
Radio Buttons for Taxonomies
Every now and then I run across a client who needs a taxonomy where the user is restricted to only allowing one term per post. I’ve also seen people wanting this a few times for categories, and I, myself, have wished for it a few times. Sometimes a post needs to be like a piece of paper […]
A Newbie’s Guide to WordPress Hooks and Functions
How To Add or Remove Anything
When people start wanting to customize WordPress, specifically a theme like Thematic, or a plugin like WooCommerce, I always see questions like: How do I add “something”, “somewhere”? or How do I remove “something” from “somewhere”? or How do I change “something”? At first it is easy to think that adding a div to the […]