How do I get my hardcoded custom template to show in the block editor?

[ad_1]

I have been asking ChatGPT multiple times and looked it up for hours and I still cannot figure this out. Why can i not get my custom coded template to show up in the block editor? I can't find any information on this, I've added all of the files, and I am so confused. I tried Elementor but it didn't work either. I kept hearing I had to put "the_content()" in the index.php file or something, but that doesn't work because I want to display the code in the editor, not the editors contents.

How does this work? Thanks!

[ad_2]
1 Comment
  1. It sounds lilke you might be confusing a classic theme vs a block theme. Can you shared the files/folder structured of your “custom coded template”? It is VERY hard for anyone to provide you with any help just with the information you provided.

    Esentially, if you build a “custom coded template” the old way by using PHP then this will not show on the block editor because is not a block theme. Instead you probably need to switch to classis editor for your theme to work.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer