How do I display two separate taxonomy archives for two post types that share a single taxonomy?

According to the WordPress Codex archive-{post_type}.php So, in your case (depending on your naming): archive-products.php If you have a custom taxonomy archive also, then the challenge is structuring your archive to represent the proper taxonomy template. If you need to have a custom taxonomy archive, I would recommend that you use the post-type archive structure … Read more

Taxonomy term in permalink

Take a look at this post How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name Accompanied by: How to change permalink structure for custom post type and it’s taxonomies? and Custom post types, taxonomies, and permalinks It will cover what you are trying to do for /category/subcategory/othersubcategory/posttitle. Edit: I … Read more

Show WordPress Custom Taxonomy Items Based On a Selected Item From Another Custom Taxonomy

Why not make the towns child terms of each state? The taxonomy could be location: See MikeSchinkel’s detailed q and a regarding hierarchal taxonomies. A more elegant solution than refreshing the page upon state selected would be to load the “thetown” child terms using ajax and the get_term_children function or the custom $wpdb query outlined … Read more

Custom Post Type – Taxonomy Dropdown Menu?

This is how I did this. <?php $tax = get_object_taxonomies(‘TAXONOMY_NAME’); $taxterms = get_terms( $tax, ‘orderby=count&offset=1&hide_empty=0&fields=all’ ); ?> <select name=”tax” id=’tax’> <option value=”” <?php if (!count( $names )) echo “selected”;?>>Select Term</option> <?php foreach ( $taxterms as $term ) { echo ‘<option value=”‘ . $term->slug . ‘” selected>’ . $term->name . ‘</option>’,”\n”; } ?> </select>

Custom taxonomy hide meta box but show in menu

You’re looking for the meta_box_cb argument. $args = array( ‘hierarchical’ => true, ‘labels’ => $labels, ‘show_ui’ => false, ‘show_admin_column’ => false, ‘show_in_menu’ => true, ‘show_in_nav_menus’ => true, ‘query_var’ => true, ‘rewrite’ => array( ‘slug’ => ‘wheel’ ), ‘meta_box_cb’ => false, ); register_taxonomy( ‘wheel’, array( ‘product’ ), $args ); You can also define a custom callback … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)