[wordpress插件] Child Navigation儿童导航

wordpress 插件 文章 2020-03-22 22:30 626 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

With installing this plugin you add functionality to wp_nav_menu() to show

通过安装此插件,您可以向 wp_nav_menu()添加功能以显示

only children of the current page or start with a specific navigation level.

仅当前页面的子级或以特定的导航级别开始。

安装步骤

    1. Upload child-navigation directory to the /wp-content/plugins/ directory
    2. child-navigation 目录上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    Show only children of current page

    仅显示当前页面的子项

    For showing all children of the current page set children_only as argument

    为显示当前页面的所有子项,将 children_only 设置为参数

    to TRUE in wp_nav_menu().
         

    wp_nav_menu()中的 TRUE
         

    TRUE ) );

    TRUE));

    ?>

    ?>

    Show all items starting at specific navigation level

    显示从特定导航级别开始的所有项目

    For showing all pages in the current root line, starting at a specific

    用于显示当前根行中的所有页面,从特定页面开始

    navigation level, set children_start_level as argument with the wanted

    导航级别,将 children_start_level 设置为所需通配符

    start level as value.
         

    起始级别作为值。
         

    2 ) );

    2));

    ?>

    ?>

    Show current page/start level in child navigation

    在子导航中显示当前页面/开始级别

    With children_show_start_level set to TRUE the current page is shown in

    children_show_start_level 设置为 TRUE 的情况下,当前页面显示在

    navigation if children_only is set or starts with children_start_level,

    导航(如果设置了 children_only 或以 children_start_level
    开头)

    if children_start_level is set.
         

    如果设置了 children_start_level
         

    TRUE,
            

    是的,
            

    // use either
            

    //使用
            

    ‘children_only’ => TRUE,
            

    ‘children_only’=>是,
            

    // or
            

    //或
            

    ‘children_start_level’ => 2,
        

    ‘children_start_level’=> 2,
        

    ) );
        

    ));
        

    ?>

    ?>

    The argument depth will be relative to the first displayed level.

    参数 depth 将相对于显示的第一个级别。

下载地址
https://downloads.wordpress.org/plugin/child-navigation.1.1.1.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Crypto Price Widgets – CryptoWP加密价格小部件– CryptoWP
[wordpress插件] Beam me up Scotty斯科蒂(Scotty)
[wordpress插件] ad Manage广告管理
[wordpress插件] Divisas Chilenas智利货币
[wordpress插件] CC Payment GatewayCC付款网关
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6127
如何解决渲染层网络错误Failed to load media? 17393
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381