I have changed the general.php file of the theme’s inc folder, but not to change the original theme I have done it in a child theme.
In the child theme I have created the same folder inc and inside I have put the modified general.php file.
The problem is that my website does not read the modified file of the child theme, but keeps reading the one of the parent theme.
The child theme file does not overwrite the original.
Which may be due?.
In the general.php file I want to change the format of the widget-title class. Now is in <h2> and I want to set it in <p>. It’s to control the headers structure in my web.
I don’t want that all the widget titles have <h2> header. I want them in <p>.