I have wordpress multisite, by default multisite has the word "blog" added to all post types excluding "pages" How would i only remove it from a specific custom post type.
If I go to setting and remove the "blog slug" from setting it gets remove from the actual blog section of the website which i don't want because i need to keep the URL the same.
I have wordpress multisite, by default multisite has the word "blog" added to all post types excluding "pages" How would i only remove it from a specific custom post type.
If I go to setting and remove the "blog slug" from setting it gets remove from the actual blog section of the website which i don't want because i need to keep the URL the same.
Share Improve this question edited Feb 5, 2014 at 11:16 John Doe asked Feb 5, 2014 at 11:09 John DoeJohn Doe 1571 gold badge1 silver badge10 bronze badges 01 Answer
Reset to default 2Set with_front
to false
to not prepended the front base to the permalink structure. Customize the permalink structure via the slug
:
'rewrite' => array(
'with_front' => false,
'slug' => 'portfolio'
)