LR Responsive Slide Menu

Description

LR Responsive Slide Menu is a lightweight, responsive mobile navigation plugin for WordPress. It replaces your site’s standard navigation with a modern, smooth slide-out panel on mobile viewports.

Key Features

  • Multi-level Submenu Support: Easily navigate through deep parent-child menu hierarchies.
  • Customization Settings: Configure background colors, hover states, text colors, and hover text colors directly from the settings page.
  • Responsive Breakpoint: Choose the exact screen pixel width (e.g., 767px) at which the slide menu becomes active.
  • Integrated Icon Support: Uses clean local Font Awesome assets for navigation and toggle icons.
  • Easy Integration: Simply place a shortcode or PHP function in your theme’s header.php.

For more support and features, please contact us at Logicrays.

Installation

  1. Upload the entire lr-responsive-slide-menu directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in the WordPress Admin Dashboard.
  3. Open your active theme’s header.php file (or relevant template file) and place the following PHP code where you want the mobile menu toggle button to appear:
  4. Go to Settings -> Responsive Slide Menu in the WordPress Admin Dashboard to configure your menu location, mobile width breakpoint, and custom colors.

FAQ

How do I display the slide menu on my website?

You can display the slide menu by placing the shortcode [responsiveslidemenu] anywhere on your site. For standard theme integration, paste the following PHP snippet into your theme’s header.php file:

How do I choose which WordPress menu is shown in the slide panel?

You can load a menu in either of these ways:

  1. By WordPress menu name: Set Slide Menu Id to your menu name (e.g. top-menu). If a menu with that name exists, it and all its submenus will be used automatically.
  2. By theme location: Go to Appearance -> Menus, assign your menu to a theme location (e.g. Mobile Menu or Desktop Horizontal Menu for Twenty Twenty), note the location slug (e.g. mobile or primary), and enter it in Theme Location under Settings -> Responsive Slide Menu.

If Theme Location is empty or invalid, the plugin falls back to mobile, then primary, and other common locations.

The hamburger button does not open the menu. What should I check?

  • Hard refresh the page (Ctrl+Shift+R) and test in mobile view (viewport width at or below your configured breakpoint, e.g. 767px).
  • Ensure the shortcode is added in your theme’s header.php: <?php echo do_shortcode( '[responsiveslidemenu]' ); ?>
  • For Twenty Twenty, use Theme Location mobile or set Slide Menu Id to your WordPress menu name (e.g. top-menu).
  • Confirm your menu is assigned under Appearance -> Menus and includes the items you expect.

Submenus only appear when the correct WordPress menu is loaded. If your nested menu is assigned to Mobile Menu but the plugin was loading Primary, submenus will not show. Set Slide Menu Id to your menu name (e.g. top-menu) or set Theme Location to mobile. Parent items with children display a > indicator; tap them to slide into the submenu.

Can I customize the colors of the slide menu?

Yes! The plugin settings page includes built-in WordPress color pickers. You can customize:
* Slide Menu Background Color
* Slide Menu Background Hover Color
* Slide Menu Item Text Color
* Slide Menu Item Text Hover Color

Does this plugin support multi-level/dropdown menus?

Yes, it fully supports nested menus. When a parent item is clicked, the submenus slide smoothly into view. The panel also displays “Back” and “Close” controls to allow users to navigate back up the menu tree or close the menu entirely.

How do I change the screen size at which the slide menu appears?

In the plugin settings page (Settings -> Responsive Slide Menu), update the value in the Pixel Width to Switch to Slide Menu field (e.g., 767 for standard tablets/mobile). The mobile menu toggle will only show up when the user’s viewport is equal to or narrower than this width.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“LR Responsive Slide Menu” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • Fixed “jQuery is not defined” error by loading menu initialization in the footer with proper script dependencies.
  • Fixed hamburger toggle not responding when overlapped by theme header buttons (e.g. Twenty Twenty search icon).
  • Fixed slide menu loading the wrong WordPress menu, which caused flat menus and missing submenus.
  • Added support for loading a menu by WordPress menu name via Slide Menu Id (e.g. top-menu).
  • Improved theme location fallback order (mobile, then primary) for mobile slide menus.
  • Repositioned the mobile toggle button (fixed top-right) and moved the slide panel to body for reliable display.
  • Hide the theme’s mobile nav toggle when the slide menu is active on supported themes.
  • Enqueue frontend assets only when the shortcode is rendered.
  • General code quality and WordPress coding standards improvements.

1.0

  • Initial release with local Font Awesome assets and WordPress coding standards fixes.