I observed th开发者_运维技巧at if I have a custom post type called article, the links become mysite/article/title-of-article-here. How do I make the links to have this pattern -- mysite/title-of-article-here?
when you define your custom post type, you have to define a "slug." try leaving it undefined, or 'slug' => ''
精彩评论