Displaying menu

  1. Go to www.github.com/twittem/wp-bootstrap-navwalker, and we'll just go ahead and download the ZIP file. Open the ZIP file, and you'll see a folder with the PHP file inside it:
  1. Let's open up our project folder. We will copy the PHP file into our folder.
  2. Open the functions.php file and we want to include the wp_bootstrap_navwalker.php file as shown:
      <?php      require_once('wp-bootstrap-navwalker.php');      function theme_setup(){          // Featured Image Support          add_theme_support('post-thumbnails');      }      add_action('after_setup_theme', 'theme_setup');

As you can see we have require_once() with wp_bootstrap_navwalker.php. Save it.

  1. Go back ...

Get Learn to Create WordPress Themes by Building 5 Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.