[wordpress插件] Customize Object Selector自定义对象选择器

wordpress 插件 文章 2020-04-10 16:20 569 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin adds a Customizer control to select one or multiple posts (and eventually terms and users).

此插件添加了一个Customizer控件,以选择一个或多个帖子(以及最终的术语和用户)。

Core has long had a dropdown-pages control type which is used in the static front page section for the “page on front” and “page for posts” controls.

Core长期以来具有 dropdown-pages 控件类型,该控件类型在静态首页部分中用于“首页”和“帖子页面”控件。

There is a problem with this control however: it outputs the entire tree of pages for every registered instance of the control.

但是,此控件存在一个问题:它为控件的每个已注册实例输出整个页面树。

For sites that have a lot of pages, this can introduce a performance problem to generate this full list, not only once, but twice for the two controls.

对于页面很多的网站,这可能会导致性能问题,无法生成完整列表,这对于两个控件而言不仅一次,而且两次。

This plugin upgrades the “page on front” and “page for posts” controls to instead make use of the Customize Object Selector control, not only allowing for the list of pages to be loaded via Ajax on demand but also for the list to be <

此插件升级了“页面首页”和“帖子页面”控件,以改用Customize Object Selector控件,不仅允许按需通过Ajax加载页面列表,而且还允许列表<

em>searched.

em>搜索

When the Customize Posts plugin is active, buttons will appear after the Select2 control to

自定义帖子插件处于活动状态时,Select2控件之后将出现按钮,

be able to create new posts to add to the selection.

能够创建新帖子以添加到选择中。

The Customize Object Selector will also power the post parent control.

自定义对象选择器还将为后父控件提供动力。

See wp-customize-posts#233.

参见 wp-customize-posts#233

This plugin also includes a reusable JavaScript component available at wp.customize.ObjectSelectorComponent which can be used in widgets or other locations.

此插件还包含一个可重用的JavaScript组件,该组件可从 wp.customize.ObjectSelectorComponent 获得,该组件可在小部件或其他位置使用。

For an example integration with widgets, see the Post Collection widget

有关与小部件集成的示例,请参见帖子收集小部件

.

For an example integration with the Customize Posts plugin, see pending usage as the Post Parent control.

nofollow“>发布父控件。

Development of this plugin is done on GitHub.

此插件的开发已在GitHub上 完成。

Pull requests welcome.

拉请求欢迎。

Please see issues reported there before going to the 问题,然后再转到

://wordpress.org/support/plugin/customize-object-selector">plugin forum.

://wordpress.org/support/plugin/customize-object-selector“>插件论坛。

下载地址
https://downloads.wordpress.org/plugin/customize-object-selector.0.4.2.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] WP Airdrop ManagerWP空投经理
[wordpress插件] Calder SVG卡尔德SVG
[wordpress插件] B-Banner SliderB横幅滑块
[wordpress插件] AppPresser &#8211; Mobile App FrameworkAppPresser –移动应用框架
[wordpress插件] Contact Easy联系易
随便看看
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394