filter
Thoughts on Filtering by Time
Filtering WordPress WP_Query results by time. This article will look at different approaches to solve this problem.
Rethinking Hook Declaration
Actions and filters are the core of WordPress. They allow us plugin and theme developers to hook into (nearly) every corner of our beloved CMS and customize it. I have some concerns about the way they are declared, though. Today, I will tell you what bothers me and try to suggest a solution. I’d like to hear your thoughts about it, too.
Allow Site Admins to Manage Users
In a WordPress multisite environment, there are site admins and network admins. The latter has all available capabilities, the former is restricted. Basically, site admins are only allowed to maintain their own sites. When it comes to users, this can be a nuisance. Learn how to allow site admins to view, edit and delete all users in a multisite blog.
Shortcode in Text Widgets
Have you ever felt the need to use a shortcode in the default WordPress text widget? Learn how to enable it in a single line of code. For the curious: Take a glimpse at how WordPress filters work.
Implement a Content Parser
For complex substitutions, the WordPress Shortcode API is fine. But when you’d like provide some kind of simple template mechanism, shortcodes are not the best choice. Today, we’ll write our own content parser.