[wordpress插件] Child Order子订单

wordpress 插件 文章 2020-03-22 22:40 569 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Adds an admin panel when editing edit pages, to let you rearrange this page’s child pages and switch their display on/off.

在编辑编辑页面时添加一个管理面板,以便您重新排列该页面的子页面并打开/关闭它们的显示。

This will only affect parts of your theme that display a list of links to child pages, and only those which respect the menu_order setting.

这只会影响主题中显示子页面链接列表的部分,并且仅影响那些遵守 menu_order 设置的部分。

It has no effect on Menus.

它对菜单无效

You need to edit those with the existing menu interface.

您需要使用现有的菜单界面进行编辑。

Actually displaying the list of child pages is outside the scope of this plugin – there are plenty of themes and plugins that do that.

实际上显示子页面列表不在此插件的范围内–有很多主题和插件可以实现这一目的。

Developers

开发人员

For developers, there are a lot of hooks exposed by this plugin, which you can use to add fields and behaviours

对于开发人员而言,此插件暴露了很多挂钩,您可以使用它们来添加字段和行为

When displaying the meta box:

显示meta框时:

    • child_order_before_list – Action called before writing the list of child pages in the admin area
    • child_order_before_list –在管理区域中写入子页面列表之前调用的操作

    • child_order_before_item ($post) – Action called at the start of each item
    • child_order_before_item($ post) –在每个项目开始处调用的操作

    • child_order_after_item ($post) – Action called at the end of each item
    • child_order_after_item($ post) –在每个项目末尾调用的动作

    • child_order_after_list – Action called after writing the whole list
    • child_order_after_list –写入整个列表后调用的动作

    • child_order_item_title ($title, $post) – Filter to control the title displayed for an item
    • child_order_item_title($ title,$ post) –用于控制显示项目标题的过滤器

    • child_order_message ($message) – Filter to control the message displayed after the list
    • child_order_message($ message) –过滤以控制列表后显示的消息

    When saving (in AJAX):

    保存时(在AJAX中):

      • child_order_children ($array, $parent_id) – Filter to adjust the list of post IDs before saving
      • child_order_children($ array,$ parent_id) –过滤以在保存前调整帖子ID列表

      • child_order_before_save ($array, $parent_id) – Action called before saving the order of items
      • child_order_before_save($ array,$ parent_id) –在保存项目顺序之前调用的操作

      • child_order_save_item ($id, $menu_order) – Action called on saving each item
      • child_order_save_item($ id,$ menu_order) –调用保存每个项目的操作

      • child_order_after_save ($array, $parent_id) – Action called after saving the order of items
      • child_order_after_save($ array,$ parent_id) –保存项目顺序后调用的操作

      If you wish to remove the “Edit” and “View” buttons from the output, call this on setup:

      如果您希望从输出中删除“编辑”和“查看”按钮,请在设置时调用它:

      remove_action('child_order_after_item', 'child_order_after_item_edit_link');

        remove_action('child_order_after_item','child_order_after_item_edit_link');

      Be aware that the internal workings of the plugin are subject to change,

      请注意,插件的内部工作方式可能会发生变化,

      so the names and details of these hooks may change in future version.

      因此这些挂钩的名称和详细信息在将来的版本中可能会更改。

安装步骤

    1. Upload the child-order directory to your /wp-content/plugins/ directory
    2. child-order 目录上传到您的 / wp-content / plugins / 目录

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

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

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] CCAvenue Payment Gateway for WooCommerceWooCommerce的CCAvenue付款网关
[wordpress插件] Code To Post发布代码
[wordpress插件] Akasa Media Social networkAkasa Media社交网络
[wordpress插件] Browser Update Ribbon浏览器更新功能区
[wordpress插件] DeMomentSomTres Woocommerce Minimum Purchase MessageDeMomentSomTres Woocommerce最低购买要求
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8370
问题? 7486
如何快速搭建抽奖助手小程序(无需代码知识) 5162
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6223
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5734
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5305
如何解决渲染层网络错误Failed to load media? 16655
小程序找号找回 释放昵称? 2596
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2572
删除部分微信用户个人数据的通知,怎么删除? 5630