plugin-icon

CMB Field Type: Sorter

作者:Tran Bang·
This plugin gives you two CMB field types based on the Sorter script:
评级
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
这个插件是可用的下载,适用于您的站点。