Опис
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.
Скріншоти
Встановлення
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
-
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.
-
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
Відгуки
Учасники та розробники
“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