[wordpress插件] BB Edition ControlBB版控件

wordpress 插件 文章 2020-03-01 00:20 470 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Plugin para categorizar todo conteúdo em edições, como em um jornal.

Jung como em umnalnal的“ Plugin para categorizar todoconteúdoemedições”。

Shortcodes

简码

[bbec-combo] Build a dropdown with the editions to choose.

  [bbec-combo]用要选择的版本构建一个下拉列表。

Options: id, class, name

选项:ID,类,名称

[bbec-list] Build a unordered list with the editions to choose.

[bbec-list]使用要选择的版本构建无序列表。

Options: id, class

选项:id,class

[bbec-active-name] Show the name of the current edition.

[bbec-active-name]显示当前版本的名称。

Template Helpers

模板助手

// Returns the current edition object, or a specific field.

  //返回当前版本对象或特定字段。

bbec_current_edition( $field = null )

bbec_current_edition($ field = null)

// Returns the latest edition object, or a specific field.

//返回最新版本的对象或特定字段。

bbec_latest_edition( $field = null )

bbec_latest_edition($ field = null)

Actions

动作

'bbec_edition_created' when a new edition is created

创建新版本时

 'bbec_edition_created'

'bbec_edition_updated' when a edition is updated.

版本更新时为“ bbec_edition_updated”。

accepts the edition ID as argument

接受版本ID作为参数

'bbec_options_updated' when options are updated.

选项更新时为“ bbec_options_updated”。

accepts the POST data as argument

接受POST数据作为参数

'bbec_edition_deleted' when a edition is removed.

删除版本时为“ bbec_edition_deleted”。

accepts the edition ID as argument

接受版本ID作为参数

Languages

语言

    • English (default)
    • 英语(默认)

    • Português Brasil (pt_BR)
    • 巴西葡萄牙语(pt_BR)

下载地址
https://downloads.wordpress.org/plugin/bb-edition-control.zip
-EOF-

AI助手支持GPT4.0