이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

CMB Field Type: Sorter

설명

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.

스크린샷

  • admin panel
  • drag drop
  • output value

설치

You can install this field type as you would a WordPress plugin:

  1. Download the plugin
  2. Place the plugin folder in your /wp-content/plugins/ directory
  3. Activate the plugin in the Plugin dashboard
  4. 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’;

후기

모든 2 평가 읽기

기여자 & 개발자

“CMB Field Type: Sorter”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “CMB Field Type: Sorter”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.