0

I have custom post type 'campaign' and in browser it is showing like this

https://www.inbreakthrough.tv/campaigns/bellbajao/ 

but I want to show it after home url like this ..

https://www.inbreakthrough.tv/bellbajao

1 Answer 1

0

When creating your custom post type set with_front to false in the rewrite.

'rewrite' => array(
    'slug'  => 'campaigns',
    'with_front'  => false,
)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.