If you are trying to overwrite the file menus.php via Child Theme and not getting results, please follow.
The menu is defined by the PHP class unmenu() in uncode/partials/menus.php, which isn’t a template file. To override the menus.php file, you only have to:
- Copy the entire class unmenu();
- Paste it into your Child Theme (in the file functions.php, for instance);
- Edit it as you prefer.
This new version will be executed instead of the original one. You will be able to add the changes you need to those new functions.
Comments
0 comments
Article is closed for comments.