A few weeks ago, I wrote an article titled Post Meta Abuse, but I think some have misunderstood the problem at hand. Meta Queries are Bad? Searching for posts via post meta is bad, but grabbing post meta is not. For example, this is a hideously expensive/slow query: $args = array( ‘meta_key’ => ‘color’, ‘meta_value’ […]
Post meta queries bring down databases, cripple traffic scaling, and dramatically inflate page load times. Thankfully there’s an almost trivial solution. Searching for Meta The problem comes when you need to query for post meta. This is a data design failure. Examples include: A meta key for posts that should appear on the homepage Marking a […]
How do I do ___ without a plugin? The answer is to remove the comment at the top of the plugin, and it’s no longer a plugin.
I see a lot of attempts to do Related Posts using WordPress plugins. However, a lot of these plugins are attempting to automate the process by comparing content. This is madness. It’s: Error prone Slow Unreliable It’s also overlooking the glaringly obvious. Related posts are posts that are about the same or similar thing. We […]
- January 2018