Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Menu Swapper

Apraksts

The Menu Swapper provides two utilities:

  1. A settings page that allows you to register unlimited menu theme locations

  2. A meta box that will appear on Pages and Posts, which will allow you to replace existing menu theme locations with your new theme locations for those individual Posts/Pages.

Video demo

Uzstādīšana

Install just like any other plugin

  1. Upload the /menu-swapper/ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create your theme locations via Settings > Menu Swapper
  4. Set menus for your new theme locations in Appearance > Menus
  5. Swap your theme locations via the meta box on individual Pages and Posts

BUJ

None yet.

Atsauksmes

11 aprīlis, 2020
For some reason the “Custom Page Menu” option in my theme wasnt working, I had done everything and almost had given up, until I came across this plugin. I tried to use other plugins that promised to to the same thing but they didnt work. This plugin was easy to use and did exactly what I needed it to do. Thank you so much.
Lasīt 43 atsauksmes

Autori un izstrādātāji

“Menu Swapper” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Menu Swapper&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.2

  • Clean up Custom Theme Locations table layout CSS
  • Remove deprecated screen_icon() function

1.1.1

  • Security fix: make sure nonce is always checked

1.1.0.2

  • Add WPML swapper check
  • Don’t unset ‘menu’ argument to avoid invalid array index access in core
  • Fix non-highlighting of any/all option
  • Allow swapping only on posts, Pages, and front page

1.1.0.1

  • Previous deployment erroneously removed assets folder, this re-adds it so that the Control Panel page will work properly

1.1

  • Add check to remove the ‘menu’ argument from wp_nav_menu args, as this will override theme location setting
  • Cleaned up admin panel for current WordPress styles.

1.0.1

  • Set the default to not affect any menus so that when Menu Swapper is not needed it won’t inadvertently swap your menus

1.0

  • Initial submission