PHP code example of bikubi / wp-bulma-navbar-walker

1. Go to this page and download the library: Download bikubi/wp-bulma-navbar-walker library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bikubi / wp-bulma-navbar-walker example snippets


<nav class="navbar">
  <div class="navbar-brand">
    ...
  </div>
  <div class="navbar-menu">
    <div class="navbar-end">
      if (has_nav_menu('primary_navigation')) {
        wp_nav_menu(array(
          'theme_location' => 'foo',
          'menu_class'     => '',     // ignored
          'container'      => '',     // ignored
          'menu_class'     => '',     // ignored
          'items_wrap'     => '%3$s', // NOT ignored
          'walker'         => new \Bikubi\WPBulmaNavbarWalker\Walker_Nav_Menu
        ));
      }