Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Poruno authored Jan 21, 2018
1 parent c0592e9 commit dad5afc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
## step one is to place navwalker.php in your WordPress theme folder /wp-content/your-theme/

## add these lines to your functions.php
#Bulma Navwalker

##To use
1) place navwalker.php in your WordPress theme folder /wp-content/your-theme/
2) To use Bulma-navwalker add these lines to your functions.php
```
require_once('navwalker.php');
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'missionfit' ),
) );
```

## then add this initializer in your header (either index.php, header.php, etc...)
3) Then add this initializer in your header (either index.php, header.php, etc...)
```
wp_nav_menu( array(
'theme_location' => 'primary',
Expand Down

0 comments on commit dad5afc

Please sign in to comment.