When adding menu-primary.php to a child theme, inc/topbar-walker.php
-
Steps to repeat:
Create a child theme named spine-child. Correctly configure the style.css and activate the theme. Add a menu to Primary Menu. All good so far; main menu navigation works great. But I need to edit the classes in the nav, so…
Now copy menu-primary.php to the child theme. Site won’t load. Error:
Warning: include_once(inc/topbar-walker.php) [function.include-once]: failed to open stream: No such file or directory in /home/members/lamorte/sites/dkdev1.campaignupgrade.org/web/wp-content/themes/spine-child/menu-primary.php on line 2
Warning: include_once() [function.include]: Failed opening ‘inc/topbar-walker.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /home/members/lamorte/sites/dkdev1.campaignupgrade.org/web/wp-content/themes/spine-child/menu-primary.php on line 2
- The topic ‘When adding menu-primary.php to a child theme, inc/topbar-walker.php’ is closed to new replies.