Remove CPT Slug from MetaBox

Hey Community,

I’m trying to display a CPT without the slug in between.

domain.com/cpt/cpt-postdomain.com/cpt-post

I found this amount and it works, but then I can no longer edit the Bricks templates.
When I open the template I get the error → Invalid content type

Does anyone here have a solution for this?
https://kellenmace.com/remove-custom-post-type-slug-from-permalinks/

After going from “single” to “section” and back to “single” it works…

1 Like