Make WordPress Core

Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#18502 closed enhancement (wontfix)

Show ID on Custom Post Types Permalinks

Reported by: kaiserlino's profile kaiserlino Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Rewrite Rules Keywords:
Focuses: Cc:


I have been using now lots of custom post types for different portals, and found that it's something no one ever knew, thought would be a cool feature if possible.

Now i have one custom post type for dvds, when the user publishes, it gets to

The other settings for permalinks is set to show /%post_id%/ so in the blog it gets

Just on custom post types it's imposible to make that.
For some things, like jobs, dvd, books, maybe there are things with same name, and an ID would be better to identify...

Change History (3)

#1 @scribu
13 years ago

  • Component changed from Post Types to Rewrite Rules
  • Keywords reporter-feedback removed

#2 @c3mdigital
11 years ago

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to 3.0

Currently custom post types require you to roll your own rewrite rules and manually define a custom structure for this using WP_Rewrite and the add_permastruct method. See:

#3 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.