Child theme and requiring at file functions.php
-
Hello,
originally, my problem is that I need change heading hrom <h2> to <h3>, which is hardcoded. So I have Child theme created and I already found what I need to change. For interest it’s hardcoded at file /generatepress_child/inc/theme-functions.phpCould you change way of reguiring file at functions.php? You are using PHP function “require” and I would like you to change it to “require_once”. Consequently of this change I can load edited files in child theme and overwrite original one. Now I can’t because it will create conflict File already loaded.
It’s change of code not only for me. It will help all people which want do only small edit in any file.
Thank you for very good theme.
ShippeRThe page I need help with: [log in to see the link]
- The topic ‘Child theme and requiring at file functions.php’ is closed to new replies.