Search the Wiki
Untested – List posts by taxonomy term from a custom post type
Taken from a wordpress support thread: http://wordpress.org/support/topic/custom-posts-type-with-custom-taxonomy-wp_query-1
Query posts by dynamic taxonomies
http://return-true.com/2011/08/wordpress-display-posts-from-a-term-without-displaying-posts-from-child-terms/
Get a posts taxonomy terms as text – can use for dynamic queries
Echoing the list of terms (for a taxonomy called on-draught). This is similar to the output from get_the_term_list, but without the terms being hyperlinked:
Build or add to a query in WordPress
Get your queried vars from the original query. http://codex.wordpress.org/Function_Reference/WP_Query $query or $query_vars Merge that with your own array, then pass that array into query_posts. Try this for the args array. The array_filter removes any empty/false/null values from the query_vars array when merging..
Feature image is missing in the WP admin sidebar
For me, “Featured Image” was still missing from the Screen Options tab, even after clearing the cache and restarting the browser. In my case the problem was related to having a WordPress 3.2 Multisite install. With this setup, the Media upload buttons must be checked in Network Admin to enable the featured image meta box Full Article…
Check If a Post has a Term from a specific Custom Taxonomy
See this page for the original source: http://alex.leonard.ie/2011/06/30/wordpress-check-if-post-is-in-custom-taxonomy/ As of WP 3.2 – there’s no core conditional function for checking whether a post belongs to a taxonomy term. A bit of searching around found this WordPress Support forum post by Justin Tadlock explaining how do check against a specific taxonomy. I’ve expanded this function a little bit Full Article…
How to handle multiple feature images per post
There is a great plugin for this: http://wordpress.org/extend/plugins/multiple-post-thumbnails/ These are the bits of code needed to use the plugin. I add this code to the functions file. It sets up new feature images and assigns custom sizes for them if necessary: Then I use this code in my template files to display the new selection Full Article…