Posts 2 Posts: Version 0.7
As promised, this version comes with a much sexier metabox for managing connections It comes with an enhanced API to boot.
As promised, this version comes with a much sexier metabox for managing connections It comes with an enhanced API to boot.
This version uses an even better WYSIWYG editor, namely CLEditor, which is built on top of jQuery, so it’s more light-weight. Also, it has better controls and is easier to extend.
I’m happy to announce that the ability to query multiple taxonomies is in WordPress Core, as of version 3.1.
However, there still is no ability to make use of that feature without writing at least a few lines of code.
Nested Queries If, for each post in a loop, you find yourself doing a subquery using the ‘connected’query vars, I’ve got good news for you. Replace something like this: while ( have_posts() ) : the_post(); $connected_writers = get_posts( array( ‘post_type’=> ‘writer’, ‘nopaging’=> true, ‘connected_to’=> $post->ID, ‘suppress_filters’=> false ) ); foreach [...]
After finding out how to make sortable columns based on custom fields, several people have asked how they could sort posts by taxonomy terms. So here’s how to do it: Let’s presume we have a ‘product’post type, with a ‘color’taxonomy. Here’s some example code, just to get that out of the way. So we already [...]
So you’re happily coding away at your WordPress site and you stumble on a technical problem. What could be easier than hoping over to the twitter window and pinging one of the core developers? The miracle of the real-time web and all that. But, if you think about it a little, it’s also kind of [...]
I just read an enlightening article about the differences between free software and open source software. When looking at the official About WordPress page, I first see this sentence: WordPress is an Open Source project, which means there are hundreds of people all over the world working on it. (More than most commercial platforms.) which [...]
See how you can finaly get rid of query_posts().
Scenario: You’re having trouble with a plugin of mine and you would like me to fix it. Here’s the definitive guide for providing a useful bug report: Versions Make sure you’re using the latest stable version of the plugin, installed on the latest stable version of WordPress. If you’re using older versions, you’re on your [...]
WordPress 3.1 will come with powerful taxonomy querying capabilities.
It will also have comparable capabilities for querying posts based on various custom fields.