Altering .php files
I want to make changes to some .php files on my domain, but I was just wondering whether any changes I made directly to these files would be lost if the theme I am using is reinstalled or updated. At the moment I am using a child theme with a style.css that imports the code for the style.css in the parent theme, but is it possible to do the same with .php files and just make a sidebar.php in my child theme and import the code from the sidebar.php from the parent theme, for example?
Sorry if I’m not explaining myself very well or I’m asking a stupid question, but I’m new to all this.
- The topic ‘Altering .php files’ is closed to new replies.