Recurring content is present in just about all WordPress themes, and handling it properly is important to keep themes lean, extensible and scalable. So what’s the right approach for handling recurring content in different situations?
Knowing hook priorities is important. Here is a simple example to show you why it’s important.
Understanding how to alter the main query and how to create custom queries in WordPress are two essentials for WordPress developers. You should familiarize yourself with a few things right away: What is the WP_Query class, including creating new custom queries for secondary loops Never use query_posts() Alter queries with the pre_get_posts hook You also…
Shows how to remove the WordPress admin bar. Then wraps it in a current_user_can check to keep it around for site admins.
“What is code?” Paul Ford answers the question, with a 38,000 word masterpiece in Bloomberg. This is the first article I’d tell an aspiring programmer to read, and the one that anyone working in technology should have in their permanent collection.
We like to say it’s easy to build a website, and to build it on top of WordPress. Maybe it is, maybe it isn’t. But for just about anyone, it can be intimidating when you’re just digging in. You’ve got to learn your ABCs before you can tell a great story. On the web — especially as it gets more complicated — there’s a lot to learn to build and maintain a modern website.
Tom McFarlin discusses various methods for instantiating WordPress plugins. There are some good comments as well.