[wordpress插件] Alligator Menu Popup鳄鱼菜单弹出

wordpress 插件 文章 2020-02-16 09:40 605 0 全屏看文

AI助手支持GPT4.0

评分

94

94

描述

This is a fork of my similarly named Alligator Popup Plugin.

这是我类似命名的Alligator Popup插件的一个分支。

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.

与原始插件不同,此插件使您可以在弹出窗口中打开WordPress自定义菜单的菜单项的目标。

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

将“ mpopup”类添加到自定义菜单的菜单项中,以在弹出窗口中打开目标。

Enables you to specify that a menu item on your WordPress custom menu will open in a new popup window.

使您可以指定WordPress自定义菜单上的菜单项将在新的弹出窗口中打开。

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.

    *在菜单编辑器页面的“屏幕选项”下拉面板中启用CSS类选项。

      • Add the mpopup class to any menu item where you want the target page to open in a popup window.
      • 将mpopup类添加到希望在弹出窗口中打开目标页面的任何菜单项。

      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

参见:https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

下载地址

https://downloads.wordpress.org/plugin/alligator-menu-popup.1.0.1.zip

https://downloads.wordpress.org/plugin/alligator-menu-popup.1.0.1.zip

-EOF-

AI助手支持GPT4.0