fix(navwalker): correct file path in require statement
The incorrect file path to the navwalker class was causing issues during theme setup. Adjusted the path to correctly reference 'classes/navwalker.php'. This aligns the file path with the directory structure, ensuring smooth functionality of the theme.
This commit is contained in:
parent
e7a4f5923b
commit
9e7dc2c85c
1 changed files with 1 additions and 1 deletions
|
@ -61,6 +61,6 @@ class WP_Bootstrap_Navwalker extends Walker_Nav_Menu
|
|||
*/
|
||||
function register_navwalker()
|
||||
{
|
||||
require_once get_template_directory() . '/class-wp-bootstrap-navwalker.php';
|
||||
require_once get_template_directory() . '/classes/navwalker.php';
|
||||
}
|
||||
add_action('after_setup_theme', 'register_navwalker');
|
||||
|
|
Loading…
Reference in a new issue