Difference Between Block Templates and Site Editor Templates
Difference Between Block Templates and Site Editor Templates
Difference Between Block Templates and Site Editor Templates
you likely need to do a flush re-write. go to settings/permalinks in the dashboard and click save. You’ll be good to go. In the future you can add this directly to your CPT plugin. I would suggest getting a bit more creative with your naming though so you don’t have conflicts later.
This can be achieved by switching from the Visual Editor to the Code Editor First, open the page template in the Site Editor. Then change from the Visual Editor to the Code Editor. All of the blocks will change from visual blocks to a long plaintext representation of the blocks. Select-all (ctrl+a) and copy this … Read more
Get_Template_Part and Template files in TwentyTwentyFour Block Editor
Copy a template part “header” that I want to duplicate and change a bit for a different page
WordPress started as an outright blogging platform and nothing more, so the home page was always just meant to be the most recent blog entries, in its early iterations. The template hierarchy has evolved since then but a lot of the labels have remained from that era. (Backwards compatibility and such.) So the page.php file … Read more
According to Carolina’s excellent reference on full site editing, hybrid themes (that use both PHP and block template parts) can only allow users to add new template parts if you activate the Gutenberg plugin.
Confused about editing the HTML in a template
Every single link on my website opens to my last blog post
Add default meta data to a page/post template