Use different taxonomies in different custom post types’ permalinks?

I will try to answer the question in detailed but keeping it as short as possible considering you have achieved the basics. Suppose our custom post type one is to be connected to taxonomy one. Let’s call them ‘console'(custom post type) and ‘brands'(taxonomy). You want to achieve: http://example.com/console/brands/sony/ Steps: Register the taxonomy first and attach … Read more

Specifying multiple categories in URL (permalink)?

Some folks asked the same question you did here. This one specifically worth reading, if you haven’t already. It has ottopress explanation for harmful permalinks. If you really want to force this, you could write your own permalink (http://domain.com/category/subcategory/post…), then either use htaccess rewrite rule or WP_Rewrite to take them to the link wordpress generated. … Read more

Custom fields ‘for’ custom taxonomy?? Can someone explain why?

Custom fields for custom taxonomies are nothing more than custom templates. For example, you can remove the template of the post_tag taxonomy via remove_meta_box() function and add custom template via add_meta_box() function. Examples Remove tags template: /* Remove default post tags template. */ add_action( ‘admin_menu’ , ‘example_remove_taxonomy_template’ ); /** * Remove taxonomy template * * … Read more

Custom fields to taxonomy

You can hook into the edit form field action of that specific taxonomy. If you look in /wp-admin/edit-tag-form.php there are hooks for every taxonomy. Starting at Line 69: if ( ‘category’ == $taxonomy ) do_action(‘edit_category_form_fields’, $tag); elseif ( ‘link_category’ == $taxonomy ) do_action(‘edit_link_category_form_fields’, $tag); else do_action(‘edit_tag_form_fields’, $tag); do_action($taxonomy . ‘_edit_form_fields’, $tag, $taxonomy); So for a … Read more

Changing stylesheet depending on custom taxonomy terms

Like Justin Tadlock says in your referenced article, the body_class() provides the ability to add classes dependant on the type of term. Given that you indicate your php knowledge is still growing; this maybe the best solution. The codex provides a list of classes on a body_class enabled: http://codex.wordpress.org/Function_Reference/body_class If that isn’t sufficient; wordpress has … Read more