Mess in my template editor – can’t use it properly anymore

[ad_1]

Hi

I use a Twenty Three child theme and WP 6.1.1

I had problems with my template editor so I used a plugin to clean the database. It did not fix my problem so I searched directly in my database.

And I think I did something wrong with my wp_posts table …
Don’t remember exactly but I think I deleted a row with something like « customize template »…

Now I have 10 instances of home.html in my Template editor page ( mywebsite.com/wp-admin/site-editor.php?postType=wp_template )

And I have 4 home.html instances of home.html in my Template Part editor!!! ( wp-admin/site-editor.php?postType=wp_template_part )

When I click “clear customizations” it does not change anything.

When I modify home template in editor and Save it, it does not take effect on Front end.

I deleted Twenty Three theme and my child theme. I uploaded these 2 themes again and activated…
But it is still a mess when I use the original Theme
and same issue when I use the child theme…

How to proceed ?

Should I delete database table and re-install everything or is there another choice ?

Thank you

  • This topic was modified 3 hours, 46 minutes ago by charlie67p.
  • This topic was modified 2 hours, 11 minutes ago by James Huff.

 

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