[wordpress插件] Custom Page Menus自定义页面菜单

wordpress 插件 文章 2020-04-08 22:11 544 0 全屏看文

AI助手支持GPT4.0

评分
60
描述

The included pages can be defined using the ‘Custom Page Menus’ admin panel on the page-edit screen ( see screenshots ).

可以使用页面编辑屏幕上的“自定义页面菜单”管理面板定义包含的页面(请参见屏幕截图)。

The widget allows you to select whether to display the page’s featured image next to the link.

该小部件可让您选择是否在链接旁边显示页面的特色图片。

(I would recommend using icon sized images for this feature)

(我建议为此功能使用图标大小的图像)

On the page-edit screen a custom title for that specific page can also be defined.

在页面编辑屏幕上,还可以定义该特定页面的自定义标题。

This title will be used should that page appear anywhere on one of the menus created with the plugin.

如果该页面出现在使用插件创建的菜单之一上的任何位置,则将使用此标题。

The menu can be added to any dynamic sidebar using the Custom Page Menus widget or alternatively coded into themes using the custom template tag:

可以使用“自定义页面菜单”小部件将菜单添加到任何动态侧栏中,或者使用自定义模板标签将其编码为主题:

cpMenu()

cpMenu()

$args = array(

$ args = array(

‘show_date’ => ,

‘show_date’=>,

‘date_format’ => get_option(‘date_format’),

‘date_format’=> get_option(‘date_format’),

‘child_of’ => 0,

‘child_of’=> 0,

‘exclude’ => ,

‘排除’=>,

‘title_li’ => __(‘Pages’),

‘title_li’=> __(‘Pages’),

‘echo’ => 1,

‘echo’=> 1,

‘authors’ => ,

‘作者’=>,

‘sort_column’ => ‘menu_order, post_title’,

‘sort_column’=>‘menu_order,post_title’,

‘link_before’ => ,

‘link_before’=>,

‘link_after’ => ,

‘link_after’=>,

‘walker’ => );

‘walker’=>);

Example Usage: http://catn.com/tech/data-centre/

用法示例: http://catn.com/tech/data-centre/

安装步骤

    1. Upload the custom-page-menu folder to the /wp-content/plugins/ directory
    2. custom-page-menu 文件夹上载到 / wp-content / plugins / 目录

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

    5. Add and customise the widget to one of your sidebars through the widgets menu in WP admin or alternatively code the menu into your theme using the tag provided ‘cpMenu()’.
    6. 通过WP管理员中的小部件菜单将小部件添加并自定义为侧边栏之一,或者使用提供的“ cpMenu()”标签将该菜单编码为主题。

    7. Select Menu pages to be added in the page-edit screen.
    8. 选择要在页面编辑屏幕中添加的菜单页面。

下载地址
https://downloads.wordpress.org/plugin/custom-page-menus.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Child Pages Tabs子页面标签
[wordpress插件] Contact Form 7 CPF/CNPJ Validations联系表7 CPF / CNPJ验证
[wordpress插件] Cashfree PG无现金PG
[wordpress插件] CFS Yoast AnalysisCFS酵母分析
[wordpress插件] Bulk Edit Custom Field Plugin批量修改自定义字段插件
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3109
删除部分微信用户个人数据的通知,怎么删除? 6381