विवरण
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.
स्क्रिनसटहरू
स्थापना
You can install this field type as you would a WordPress plugin:
- Download the plugin
- Place the plugin folder in your /wp-content/plugins/ directory
- Activate the plugin in the Plugin dashboard
- Alternatively, you can place the plugin folder in with your theme/plugin. After you call CMB:
Add another line to include the cmb-field-sorter.php file. Something like:
require_once ‘cmb-field-type-sorter/cmb-field-sorter.php’;
योगदानकर्ता र डेभलपरहरू
“CMB Field Type: Sorter” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“CMB Field Type: Sorter” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।