Responsive Navigation Block Wordpress Plugin - Rating, Reviews, Demo & Download

Responsive Navigation Block Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

This Plugin allows you to display and apply alternative styling to different navigation menus based on the screen size using the WordPress Navigation block.

Features

  • Style your menu differently depending on screen size.
  • Use a different menu for each screen size.
  • Customize the “breakpoint” (where you switch between mobile and desktop).
  • Automatically switch editor to “mobile” preview when editing the mobile navigation.

Usage

This Plugin creates two block variations from the Navigation block which will be automatically hidden/shown at the configured breakpoint (screensize)

This affords the ability to independently style mobile vs desktop navigation and even allows for completely different menus to be used.

The Plugin should be used as follows:

  • Install and Activate the plugin – two new block variations will be automatically registered for “Mobile” and “Desktop”.
  • Go to the Editor and remove any existing Navigation block.
  • Add the “Desktop Navigation” block – style and configure the menu for “desktop” as required.
  • Add the “Mobile Navigation” block – style and configure the menu for “mobile” as required.
  • View the front of your website and resize your browser to see the navigations swap out at the appropriate breakpoint/screensize.

Support

Please see FAQs. If you still have an issue please:

Privacy Statement

Responsive Navigation does not:

  • use cookies.
  • send data to any third party.
  • include any third party resources.

Contributing

Contributions to this Plugin are welcome. Please fork the Github repository and submit a PR for review.

Development Setup

This Plugin uses the @wordpress/scripts package.

  • Check out the Github repo into the wp-content/plugins directory of a WordPress installation.
  • cd into the Plugin’s directory install the dependencies with npm i.
  • Running npm start will start the @wordpress/scripts package in watch mode ready to compile the JavaScript on modification.
  • PHP files can be edited in the usual manner.

Testing

The Plugin has e2e test coverage for the key features courtesey of @wordpress/scripts and Playwright.

To run the tests – in your terminal of choice:

  • npm run build.
  • npm run wp-env start.
  • Run the tests: npm run test:e2e

Releasing

Releasing the Plugin is the prerogative of the Plugin owner (@get_dave). The process is as follows:

  • Commit all changes to trunk branch.
  • TBC

Screenshots


Reviews & Comments