admin管理员组

文章数量:1417664

I created my CPT along with your category ... It's a bad practice to do this?

in register_post_type: rewrite => array ( 'slug' => 'portfolio/work' )

in register_taxonomy: rewrite => array( 'slug' => 'portfolio/categoty' );

The reason is that my URL looks like this:

mysite/portfolio/work-title
mysite/portfolio/category/weddings

本文标签: bad practice for Custom Post Type