You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This code in the main repo branch is undergoing a big shakeup to bring it in line with recent standards and to merge and test the backlog of PRs I have left for too long. Please use the v4.3.0 tag for stable version while this process happens. https://github.com/wp-bootstrap/wp-bootstrap-navwalker/releases/tag/v4.3.0**
12
+
11
13
A custom WordPress Nav Walker Class to fully implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.
12
14
13
15
## NOTES
@@ -32,9 +34,9 @@ Here is a list of the most notable changes:
32
34
33
35
## Installation
34
36
35
-
Place **class-wp-bootstrap-navwalker.php** in your WordPress theme folder `/wp-content/your-theme/`
37
+
Place **class-wp-bootstrap-navwalker.php** in your WordPress theme folder `/wp-content/themes/your-theme/`
36
38
37
-
Open your WordPress themes **functions.php** file - `/wp-content/your-theme/functions.php` - and add the following code:
39
+
Open your WordPress themes **functions.php** file - `/wp-content/themes/your-theme/functions.php` - and add the following code:
38
40
39
41
```php
40
42
/**
@@ -91,7 +93,7 @@ Typically the menu is wrapped with additional markup, here is an example of a `f
@@ -119,14 +121,14 @@ Review options in the Bootstrap docs for more information on [nav classes](https
119
121
120
122
To display the menu you must associate your menu with your theme location. You can do this by selecting your theme location in the *Theme Locations* list while editing a menu in the WordPress menu manager.
121
123
122
-
### Making this Walker the Default Walker for Nav Manus
124
+
### Making this Walker the Default Walker for Nav Menus
123
125
124
126
There has been some interest in making this walker the default walker for all menus. That could result in some unexpected situations but it can be achieved by adding this function to your functions.php file.
0 commit comments