Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#16554 closed enhancement (duplicate)

get_the_category_list does not produce custom type category

Reported by: link2caro's profile link2caro Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Posts, Post Types Keywords: post_type
Focuses: Cc:

Description

I'm sorry if this is due to the fact that I don't know how to use custom post type.

When I'm in a custom post type template, the function get_the_category_list produces a list which does not allow to get to the category with post_type. As I see in the $wp_rules, there is not rules yet to manage this type of rule:

index.php?category_name=...&post_type=...

If this is something that will need an implementation I suggest a rewrite as following:

/custom-post-type/<cat-slug>/cat-name

Thank you

Change History (3)

#1 @scribu
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This is something already suggested in another ticket: #14502

Therefore marking as duplicate.

#2 @scribu
14 years ago

After that is handled, we can see which template tags should generate these types of links.

#3 @scribu
14 years ago

  • Severity changed from blocker to normal
  • Type changed from defect (bug) to enhancement
Note: See TracTickets for help on using tickets.