plugin-icon

CMB Field Type: Sorter

投稿者: Tran Bang·
This plugin gives you two CMB field types based on the Sorter script:
評価
5/5
バージョン
1.0.0
有効インストール数
10
最終更新日時
May 20, 2015

This plugin gives you two CMB field types based on the Sorter script:

Usage

`tb_sorter` – Select box with with typeahead-style search. Example:

$cmb->add_field(array( 'name' => 'Page Layout', 'id' => $prefix . 'ingredients', 'desc' => 'Select Page Layout', 'type' => 'tb_sorter', 'options' => array( 'enabled' => array( 'highlights' => 'Highlights', 'slider' => 'Slider', 'staticpage' => 'Static Page', ), 'disabled' => array( 'services' => 'Services' ) ), ));

Out put

get_post_meta(get_the_ID(), '_yourprefix_about_ingredients', true);

IMPORTANT: The key pair of ‘placebo’ => ‘placebo’ IS NO LONGER REQUIRED.

無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 4.2.39
このプラグインをダウンロードして、 サイトに使用できます。