Wp Bootstrap4 Navwalker screenshot

Wp Bootstrap4 Navwalker

Author Avatar Theme by Jprieton
Updated: 9 Feb 2020
39 Stars

A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.x navigation style in a custom theme using the WordPress built in menu manager

Categories

Overview

The WP Bootstrap 4.x Navwalker is a custom WordPress nav walker class that allows users to fully implement the Twitter Bootstrap 4.x navigation style in a custom theme using the WordPress built-in menu manager. This nav walker class is based on the 3.x version of the wp-bootstrap/wp-bootstrap-navwalker and provides support for Bootstrap 4.x.

Features

  • Custom WordPress nav walker class
  • Based on the wp-bootstrap/wp-bootstrap-navwalker for Bootstrap 3.x
  • Implements Twitter Bootstrap 4.x navigation style
  • Compatible with WordPress built-in menu manager

Installation

To install the WP Bootstrap 4.x Navwalker, you have two options:

Using it as a plugin:

  1. Place the wp-bootstrap-navwalker.php file in your WordPress plugin folder located at /wp-content/plugins/wp-bootstrap4-navwalker/.
  2. Activate the plugin.

Using it as a dependency on your theme:

  1. Place the wp-bootstrap-navwalker.php file in your WordPress theme folder located at /wp-content/your-theme/.
  2. Open your theme’s functions.php file located at /wp-content/your-theme/functions.php.
  3. Add the following code to the functions.php file:
require_once get_template_directory() . '/wp-bootstrap-navwalker.php';

If you encounter any errors with the above code, you can use a check to return clean errors for easier problem diagnosis.

Summary

The WP Bootstrap 4.x Navwalker is a custom WordPress nav walker class that allows users to implement the Twitter Bootstrap 4.x navigation style in their custom themes using the WordPress built-in menu manager. It provides a convenient way to create responsive navigation menus and offers support for Bootstrap 4.x features. Although this nav walker is no longer maintained, users can still refer to the wp-bootstrap/wp-bootstrap-navwalker repository for updates and improvements.