這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AS Metabox

外掛說明

As Metabox Easy To Use WordPress Metabox Framework And More Customizable Option. You Can Make Beautiful Metabox Option

Configuration

Usage as Plugin

1. Upload ‘as-metabox‘ folder to the ‘/wp-content/plugins/’ directory or Install as a regullar WordPress plugin

Usage as Theme

2. require_once get_template_directory_uri() .'/as-metabox/as-metabox.php';

After installation, you can modify and change directly metabox-config files from as-metabox/config folder or you can make another new option using wp hook


add_action('as_metabox_init', 'your_function_name');

Metabox Options

  • Text
  • Url
  • DatePicker
  • Email
  • Textarea
  • Checkbox
  • Radio
  • Select
  • WP Select
  • Number
  • Icons
  • Group
  • Upload
  • WP Editor
  • Color Picker
  • Custom Option
  • And More Options Is Upcoming

More Documentation

V 1.0

  • Initial Release

螢幕擷圖

  • installed in test server option demo
  • installed in test server plugin demo
  • installed in test server plugin demo
  • installed in test server plugin demo
  • installed in test server plugin demo

安裝方式

Usage as Plugin

1. Upload ‘as-metabox‘ folder to the ‘/wp-content/plugins/’ directory or Install as a regullar WordPress plugin

Usage as Theme

2. require_once get_template_directory_uri() .'/as-metabox/as-metabox.php';

Make a Basic MetaBox Sample


$asmeta = new As_metabox(array(
        'title'         => __('Meta box demo 1', 'asm'), //MetaBox Title
        'id'            => 'demo-id-1',                  //MetaBox Id Please Give An Unique Id
        'screen'        => array('post'),                //MetaBox Post Type Example  array('post', 'page'),
        'context'       => 'advanced',                   //MetaBox Post Context
        'priority'      => 'low'                         //MetaBox Post Priority
    ));

$asmeta->add_section(array(
            'title'     =>  __('Text fields', 'asm'),
            'id'        =>  'section-1',
            'icon'      =>  'fa-text-width',
            'fields'    =>  array(
                                array(
                                    'id'                => 'text-field',                 //Option Id Please Give An Unique Id
                                    'title'             => __('Text Field', 'asm'),      //Option Id Title
                                    'desc'              => __('Text Field Demo', 'asm'), //Option Id Description
                                    'type'              => 'text',                       //Option Id Type
                                    'default'           => 'text',                       //Default Option Value 
                                )
                            )
                        )
                    );

常見問題集

Installation Instructions

Usage as Plugin

1. Upload ‘as-metabox‘ folder to the ‘/wp-content/plugins/’ directory or Install as a regullar WordPress plugin

Usage as Theme

2. require_once get_template_directory_uri() .'/as-metabox/as-metabox.php';

Make a Basic MetaBox Sample


$asmeta = new As_metabox(array(
        'title'         => __('Meta box demo 1', 'asm'), //MetaBox Title
        'id'            => 'demo-id-1',                  //MetaBox Id Please Give An Unique Id
        'screen'        => array('post'),                //MetaBox Post Type Example  array('post', 'page'),
        'context'       => 'advanced',                   //MetaBox Post Context
        'priority'      => 'low'                         //MetaBox Post Priority
    ));

$asmeta->add_section(array(
            'title'     =>  __('Text fields', 'asm'),
            'id'        =>  'section-1',
            'icon'      =>  'fa-text-width',
            'fields'    =>  array(
                                array(
                                    'id'                => 'text-field',                 //Option Id Please Give An Unique Id
                                    'title'             => __('Text Field', 'asm'),      //Option Id Title
                                    'desc'              => __('Text Field Demo', 'asm'), //Option Id Description
                                    'type'              => 'text',                       //Option Id Type
                                    'default'           => 'text',                       //Default Option Value 
                                )
                            )
                        )
                    );

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈AS Metabox〉的開發相關工作。

參與者

將〈AS Metabox〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄