Skip to content

Commit 113e20a

Browse files
authored
Update README.md
1 parent 1f29c4f commit 113e20a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Bootstrap 5 WordPress navbar walker
22
[bootstrap-5-wordpress-navbar-walker](https://github.com/AlexWebLab/bootstrap-5-wordpress-navbar-walker)
33
## How to use:
4-
1. Copy and paste the [bootstrap_5_wp_nav_menu_walker](https://github.com/AlexWebLab/bootstrap-5-wordpress-navbar-walker/blob/main/functions.php) class into the functions.php file of your theme
5-
2. Register a new menu by adding the follow code into the functions.php file of your theme
4+
1. Copy and paste the [bootstrap_5_wp_nav_menu_walker](https://github.com/AlexWebLab/bootstrap-5-wordpress-navbar-walker/blob/main/functions.php) class into the functions.php file of your theme;
5+
2. Register a new menu by adding the follow code into the functions.php file of your theme:
66
```php
77
register_nav_menu('main-menu', 'Main menu');
88
```
9-
3. Add the following html code in your header.php file or wherever you want to place your menu.
9+
3. Add the following html code in your header.php file or wherever you want to place your menu:
1010
```html
1111
<nav class="navbar navbar-expand-md navbar-light bg-light">
1212
<div class="container-fluid">

0 commit comments

Comments
 (0)