How do I create filters for custom post types?

This is how I did it. If you have your custom post type as “projects”, and your category as “airplane”. If you’re not planning on using the pre-build loop you would make another one called loop-projects.php. However, it’s not necessary. <?php $args = array( ‘numberposts’ => 5, ‘post_type’ => ‘projects’, ‘category_name’ => ‘airplane’); query_posts( $args … Read more

Custom Taxonomies Cababilities

Hi @curtismchale: Try ‘river-class’ instead of ‘Class’, i.e.: register_taxonomy( ‘river-class’, array( ‘fvww-river-guide’ ), array( ‘hierarchical’ => true, //operates like a category ‘labels’ => $labels, ‘rewrite’ => true, ‘public’ => true, ‘show_ui’ => true, ) ); // ends class taxonomy Actually what caused you to stumble was your choice of a capitalized taxonomy name (i.e. “Class” … Read more

List Recent Post Titles from Custom Taxonomies?

create additional loops in your template, selecting the taxonomy and term you’d like to limit display to for each. for instance, this will pull the last 5 posts from taxonomy “genre”, term “action”: <?php $args = array( ‘taxonomy’=>’genre’,’term’=>’action’,’posts_per_page’=>5 ); $action_films = new WP_Query( $args ); while( $action_films->have_posts() ) : $action_films->the_post(); echo ‘<li>’; the_title(); echo ‘</li>’; … Read more

Should I use custom taxonomy or custom post type

So, at the end of the day, your content is about resorts (that is, “destination” = resort? If so: Custom Post Type: destination (semantically, it would be “resort”, but you can use “destination” to meet your client’s needs) Custom Taxonomy(ies): location (country, city, etc.) EDIT: How to parse the terminology: Post: noun Taxonomies: adjectives The … Read more