Alligator Menu Popup

外掛說明

This is a fork of my similarly named Alligator Popup Plugin. Unlike the original plugin, this one enables you to open the target of a menu item of your WordPress custom menu in a popup window.

Add the ‘mpopup’ class to a menu item in a custom menu to open the target in a popup Window.

Enables you to specify that a menu item on your WordPress custom menu will open in a new popup window. An admin page allows you can control the size of the popup window and whether it has scrollbars.

Usage:

You will find the Menu Popup Settings Page at Settings => Menu Popup

  • Set the dimensions of the popup window and whether you want the popup window to be scrollable

Then edit your custom menu at Appearance => Menus
* Enable the CSS Classes option in the Screen Options pull-down panel on the menu editor page.

  • Add the mpopup class to any menu item where you want the target page to open in a popup window.

When the menu item is clicked, the link should now open in a popup window.

螢幕擷圖

  • screenshot-01.png

安裝方式

Install the same as any other plugin
see: https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

常見問題集

Where is the admin page?

You’ll find it at settings => Menu Popup

How can I add the mpopup class to my menu item?

If your menu item editor is not showing the ‘CSS Classes’ field, you can enable this by going into ‘screen options’ and selecting the ‘CSS Classes’ checkbox.

How do I get a link to popup if it is not a menu item?

You can use my Alligator Popup plugin for that

Why doesn’t it work for me?

It works for me, but all sites are different. Post a support request and I’ll try to help you get it working

使用者評論

2021 年 8 月 17 日 1 則留言
You know when a plugin is easy to find, easy to understand, doesn’t mess up your site and is FREE? Yeah – me neither. This is that plugin. Thank you for being a unicorn. This plugin ROCKS!!!!
2019 年 7 月 7 日
Lately when you search for popups it’s all lightbox which is in fact not a popup but an overlayer with z-index, which is very misleading. This plugin understands the definition of a popup and makes it true. Thank you!
2018 年 8 月 24 日 1 則留言
Installed it, set dimensions of window in settings, but then what? Went to menu, nothing extra there. Couldn’t see instructions for next step or new features in menu items. Then noticed text above plugin entry (after 10 minutes) that said “Add the ‘mpopup’ class to a menu item in a custom menu”. But menu items have no field for class name. Had to delete and try something else.
閱讀全部 17 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Alligator Menu Popup〉的開發相關工作。

參與者

將〈Alligator Menu Popup〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0.0

  • Removed jQuery as a dependency

1.0.2

  • Documentation updates

1.0.1

  • Tooltips added to links in the plugins table
  • Used new heart icon in dashicons WP 3.9
  • added ‘resizable=yes’ for IE to enable maximise button on popped up window

1.0.0

  • Initial Version