Custom Taxonomy’s Label to change the text appearing in Appearance > Menu

I’m assuming that you don’t want to set different labels for these taxonomies in the first place – you didn’t specifically mention that you can’t, but I’m assuming the thought occurred to you. Just in case it didn’t, from your code: register_taxonomy(“product_cat”, “product”, array( “labels” => array( “name” => “Categories”, Changing “Categories” to “Product Categories” … Read more

Custom Taxonomy-specific JavaScript

For a function that enqueues scripts, the action hook you use should actually be “wp_enqueue_scripts” for the front of the site, and “admin_enqueue_scripts” for the admin side of things. This is the proper time to enqueue scripts. While you can technically do it anytime before wp_head, this is the best place because it’s pretty much … Read more

How to Make a Separate RSS Feed for Each Custom Post Type

add the small example function: add_action( ‘request’, ‘fb_add_to_feed’ ); // add to post-feed function fb_add_to_feed($request) { if ( isset($request[‘feed’]) && !isset($request[‘post_type’]) ) { $request[‘post_type’] = get_post_types( $args = array( ‘public’ => true, ‘capability_type’ => ‘post’ ) ); } return $request; } Alternative you can creat a own feed onl yfor the custom post type. See … Read more