public function __construct($post_type = '', $taxs = array(), $meta_data = array(), $localize = array()) { parent::__construct('jb_slider', $taxs, $meta_data, $localize); $this->taxs = array(); $this->create_rules = array('post_title' => 'required', 'the_post_thumbnail' => 'required'); $this->meta = array(); $this->defautl_field = array('post_title'); $this->convert = array('ID', 'post_type', 'post_status', 'post_content', 'post_title', 'post_author'); }
public function __construct($post_type = '', $taxs = array(), $meta_data = array(), $localize = array()) { parent::__construct('jb_about', $taxs, $meta_data, $localize); $this->taxs = array(); $this->create_rules = array('post_title' => 'required', 'post_content' => 'required'); $this->meta = array('fb_url', 'tw_url', 'gplus_url', 'website_url'); $this->defautl_field = array('post_title', 'post_content', 'fb_url', 'tw_url', 'gplus_url', 'website_url'); $this->convert = array('ID', 'post_type', 'post_status', 'post_content', 'post_title', 'post_author', 'fb_url', 'tw_url', 'gplus_url', 'website_url'); }
public function __construct($post_type = '', $taxs = array(), $meta_data = array(), $localize = array()) { parent::__construct('jb_work', $taxs, $meta_data, $localize); $this->taxs = array('work_category'); $this->create_rules = array('post_title' => 'required', 'post_content' => 'required'); $this->meta = array(); $this->defautl_field = array('post_title', 'post_content'); $this->convert = array('ID', 'post_type', 'post_status', 'post_content', 'post_title', 'post_author', 'work_category_slug'); }