0

So i am using the block editor to build a page and I created several custom post types.

Usualy I would Just create a template in the classic way but since i want to use the block editor i was wondering how to do it the propper way.

So I have created a template and added it to the theme.json refferencing the custom post type. Bang works like a charm. BUT: There is always a "Default-Template" pre selected.

With every post I create I now have to switch to my new template. I could hard set it on save but this would be dirty..

Is there a way to remove the "Default-Template"? Can I define the custom template as the default one?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.