CMB Field Type: Sorter

CMB Field Type: Sorter Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 3,229 downloads
CMB Field Type: Sorter Icon

Try plugin: CMB Field Type: Sorter

We'll create fresh WordPress site with CMB Field Type: Sorter installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About CMB Field Type: Sorter

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

2


0


0


0


0

updated: 9 years ago
since: 9 years ago
author: Tran Bang

Description

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.