Home Plugins kneejerk menu swapper
Kneejerk Menu Swapper logo

Kneejerk Menu Swapper

by Rohjay on WordPress.org

Contextually swaps menus in your theme for logged in users.

(0)
This is an example of what the plugin's config might look like for an install using the Twentytwenty Theme (after bonking save)

This is an example of what the plugin's config might look like for an install using the Twentytwenty Theme (after bonking save)

What is KJD Menu Swapper

This Plugin designed to allow you to contextualize the menus in your theme based on whether or not your visitor is logged in or not. It’s especially handy when this functionality is not built into your theme!

Please report any bugs or feel free to give me any feedback at https://kneejerk.dev/ via the contact form at the bottom. Alternatively, if you’re on Github, you can create an issue for me instead.

How does it work

After installing KJD Menu Swapper, you’ll see the Menu Swapper on the left admin navigation. Once you click there, you’ll be presented with the configuration for the plugin. This plugin does a few things to work:

  1. KJD grabs the menus that your theme has registered. Whatever your theme, if it registers its menus properly, KJD Menu Swapper will find it =]
  2. KJD then grabs the menus that you’ve configured under Appearance -> Menus
  3. If a menu is configured for a registered theme menu, KJD Menu Swapper will show you. Otherwise, it’ll say “None Selected”.
  4. In the dropdown next to what the theme is configured for, you have the option to “swap” it when the visitor is logged in.
  5. Click the enable checkbox for that menu to enable the swap.
  6. Next, bonk the “Save” button, and the menu swap is live!

Arbitrary section

A Note from the Author

It’s designed to be pretty easy to use, but this plugin will only get better with constructive feedback from people who are using it like you!

Sincerely,
Ryan “Rohjay” Oeltjenbruns

Active installations0+
Weekly downloads
7-12.50%
Version1.1.0
Last updated9/6/2021
WordPress version5.0
Tested up to5.8.10
PHP version7.2
Tags
logged inmenusnavigation
Kneejerk Menu Swapper | Plugin0