Linux 软件免费装
Banner图

AS Metabox

开发者 anuislam
更新时间 2017年9月6日 05:44
WordPress版本: 4.8.1
版权: GPLv2 or later

标签

plugin AJAX album wordpress plugin best gallery Simple gallery AS Metabox metabox framework wordpress metabox framework social plugin woocommerce metabox plugin

下载

详情介绍:

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 More Documentation

安装:

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 ) ) ) );

屏幕截图:

  • 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

更新日志:

V 1.0