[wordpress插件] Big Big Menu大大菜单

wordpress 插件 文章 2020-03-04 22:00 493 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Big Big Menu provides a simple Admin interface for creating and re-ordering the main navigation menu on your blog.

Big Big Menu提供了一个简单的管理界面,用于在博客上创建和重新排序主导航菜单。

The menu can include any Pages, Categories, Author Pages, and Links that you’ve added to WordPress.

菜单可以包括您添加到WordPress的任何页面,类别,作者页面和链接。

This plugin will work with any theme that uses wp_list_pages() to output the main navigation.

此插件将与使用wp_list_pages()输出主导航的任何主题一起使用。

You can also easily add the generated menu to your own custom theme.

您还可以轻松地将生成的菜单添加到自己的自定义主题中。

Note The admin interface for this plugin requires a Javascript-enabled browser.

注意:此插件的管理界面需要启用Javascript的浏览器。

Usage

用法

    1. Go to ‘Manage’ > ‘Big Big Menu’ in WordPress Admin to arrange your menu.
    2. 转到WordPress Admin中的“管理”>“大菜单”来安排菜单。

    3. You will see the following:

    4. 您将看到以下内容:

        • Left Column: the orange boxes show the current menu configuration.
        • 左列:橙色框显示当前菜单配置。

        • Middle Column: the tabs contain the available menu items grouped by type
        • 中间列:选项卡包含按类型分组的可用菜单项

        • Right Column: the plugin settings… you probably don’t need to change these
        • 右栏:插件设置…您可能不需要更改这些设置

      • Click the “plus” signs in available menu items to add them to the menu
      • 单击可用菜单项中的“加号”以将其添加到菜单中

      • Drag-and-drop current menu items to change their order
      • 拖放当前菜单项以更改其顺序

      • Click on the “minus” signs in current menu items to remove them from the menu
      • 单击当前菜单项中的“减号”以将其从菜单中删除

    Adding the Template Tag

    添加模板标签

    If this plugin doesn’t work with your template out-of-the-box, you can still use it by adding a little code to your template files.

    如果此插件不能与您的模板直接使用,则仍可以通过在模板文件中添加一些代码来使用它。

    This requires a bit of knowledge about HTML and PHP, but can be done through the ‘Design’ > ‘Theme Editor’ area of WordPress Admin.

    这需要一些有关HTML和PHP的知识,但是可以通过WordPress Admin的“设计”>“主题编辑器”区域来完成。

    Here’s How:

    方法如下:

      1. Open the template file where your main navigation menu is located.
      2. 打开主导航菜单所在的模板文件。

      3. Add the tag

      4. 添加标签 <?

        bigbig_menu() ?> to the template where the menu should appear.

      5. bigbig_menu()?> 到应该显示菜单的模板。

      6. Save the template file.
      7. 保存模板文件。

安装步骤

    1. Download and extract the plugin files.
    2. 下载并解压缩插件文件。

    3. Move the ‘bigbig_menu’ folder into your ‘/wp-content/plugins/’ directory.
    4. 将“ bigbig_menu”文件夹移至“ / wp-content / plugins /”目录。

    5. Activate the plugin through the WordPress Admin ‘Plugins’ page.
    6. 通过WordPress管理员“插件”页面激活插件。

    7. Go to ‘Manage’ > ‘Big Big Menu’ in WordPress Admin to arrange your menu.
    8. 转到WordPress Admin中的“管理”>“大菜单”来安排菜单。

    9. Visit your blog’s homepage… chances are, the new menu is already working.
    10. 访问您博客的主页...可能,新菜单已开始工作。

    11. If not, you may need to add the template tag (see below).
    12. 否则,您可能需要添加模板标签(请参见下文)。

下载地址
https://downloads.wordpress.org/plugin/big-big-menu.0.1.0.zip
-EOF-

AI助手支持GPT4.0