$this->order = 3;
        $this->status = 1;
        $this->data_type = 'jb_about';
        $this->template_url = '/includes/modules/about/template-section-about';
        $this->name = 'about';
        $this->description = __('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus vitae orci nec sapien posuere tincidunt ut sit amet magna.
Ut a enim in orci feugiat fringilla id in ipsum. Integer condimentum viverra nunc vitae sodales. Nunc viverra iaculis bibendum.
Pellentesque scelerisque eleifend diam at convallis. Duis quis justo pretium, sagittis nisi a, viverra ligula.
Curabitur interdum augue elit, sit amet accumsan eros efficitur a. Integer venenatis ligula at lobortis lacinia.', JB_DOMAIN);
        $this->init();
    }
    /**
     * Init of action class
     *
     * @param void
     * @return void
     * @since 1.0
     * @package JBTHEME
     * @category void
     * @author JACK BUI
     */
    public function init()
    {
        global $jb_post_factory;
        $jb_post_factory->set($this->data_type, new JB_Data_Section_About());
    }
}
$class = JB_Section_About::get_instance();
$class = serialize($class);
JB_Section_Manager()->save_section('about', $class);
{
    private static $instance = NULL;
    /**
     * Get class instance.
     *
     * @since  1.0
     * @return JB_Lib instance
     * @author JACK BUI
     */
    public static function get_instance()
    {
        if (NULL == static::$instance) {
            static::$instance = new static();
        }
        return static::$instance;
    }
    public function __construct($order = 0, $status = 1, $data_type = "", $template_url = '', $name = '', $description = '')
    {
        parent::__construct($order, $data_type, $template_url);
        $this->order = 5;
        $this->status = 1;
        $this->data_type = 'jb_slider';
        $this->template_url = '/includes/modules/contact/template-section-contact';
        $this->name = 'contact';
        $this->description = '';
    }
}
$class = JB_Section_Contact::get_instance();
$class = serialize($class);
JB_Section_Manager()->save_section('contact', $class);
<?php

$work = JB_Section_Manager()->get_section('work');
if (!empty($work)) {
    global $jb_post_factory, $post;
    $work_obj = $jb_post_factory->get('jb_work');
    $args = array('post_type' => 'jb_work', 'post_status' => 'publish');
    query_posts($args);
    if (have_posts()) {
        ?>
<section id="work" class="clearfix bgColor3">
  <div class="container">
    <div class="row row-padding">
      <div class="title-padding">
        <h2><?php 
        echo $work->name;
        ?>
</h2><span class="line"></span>
        <p><?php 
        echo $work->description;
        ?>
</p>
      </div>
    </div>
  </div>
  <div class="work-list clearfix">
    <div class="button-group filter-button-group">
      <button data-filter="*"><?php 
        _e('ALL', JB_DOMAIN);
        ?>
</button>
{
    private static $instance = NULL;
    /**
     * Get class instance.
     *
     * @since  1.0
     * @return JB_Lib instance
     * @author JACK BUI
     */
    public static function get_instance()
    {
        if (NULL == static::$instance) {
            static::$instance = new static();
        }
        return static::$instance;
    }
    public function __construct($order = 0, $status = 1, $data_type = "", $template_url = '', $name = '', $description = '')
    {
        parent::__construct($order, $data_type, $template_url);
        $this->order = 4;
        $this->status = 1;
        $this->data_type = 'jb_slider';
        $this->template_url = '/includes/modules/blog/template-section-blog';
        $this->name = 'blog';
        $this->description = '';
    }
}
$class = JB_Section_Blog::get_instance();
$class = serialize($class);
JB_Section_Manager()->save_section('blog', $class);
    public function __construct($order = 0, $status = 1, $data_type = "", $template_url = '', $name = '', $description = '')
    {
        parent::__construct($order, $data_type, $template_url, $name, $description);
        $this->order = 2;
        $this->status = 1;
        $this->data_type = 'jb_work';
        $this->template_url = '/includes/modules/work/template-section-work';
        $this->name = 'our work';
        $this->description = __('Lorem ipsum dolor sit amet, consectetur adipiscing elit,printing and typesetting', JB_DOMAIN);
        $this->init();
    }
    /**
     * init of section work class
     *
     * @param void
     * @return void
     * @since 1.0
     * @package JBTHEME
     * @category void
     * @author JACK BUI
     */
    public function init()
    {
        global $jb_post_factory;
        $jb_post_factory->set($this->data_type, new JB_Data_Section_Work('jb_work', array('work_category')));
    }
}
$class = JB_Section_Work::get_instance();
$class = serialize($class);
JB_Section_Manager()->save_section('work', $class);
<?php

$about = JB_Section_Manager()->get_section('about');
if (!empty($about)) {
    global $jb_post_factory, $post;
    $about_obj = $jb_post_factory->get('jb_about');
    $args = array('post_type' => 'jb_about', 'post_status' => 'publish');
    query_posts($args);
    if (have_posts()) {
        ?>
<!-- About us-->
<section id="about-us" class="clearfix bgColor2">
  <div class="container">
    <div class="row">
      <div class="title-padding">
        <h2><?php 
        echo $about->name;
        ?>
</h2><span class="line"></span>
        <p><?php 
        echo $about->description;
        ?>
 </p>
      </div>
      <div class="content">
      <?php 
        while (have_posts()) {
            the_post();
            $about = $about_obj->convert($post);
            ?>
        <div class="col-md-3 col-sm-6 col-xs-12 item-padding">
    public function __construct($order = 0, $status = 1, $data_type = "", $template_url = '', $name = '', $description = '')
    {
        parent::__construct($order, $data_type, $template_url, $name, $description);
        $this->order = 1;
        $this->status = 1;
        $this->data_type = 'jb_services';
        $this->template_url = '/includes/modules/services/template-section-services';
        $this->name = 'services';
        $this->description = __('Lorem ipsum dolor sit amet, consectetur adipiscing elit,<br/>printing and typesetting', JB_DOMAIN);
        $this->init();
    }
    /**
     * Init function for this class
     *
     * @param void
     * @return void
     * @since 1.0
     * @package JBTHEME
     * @category void
     * @author JACK BUI
     */
    public function init()
    {
        global $jb_post_factory;
        $jb_post_factory->set($this->data_type, new JB_Data_Section_Services());
    }
}
$class = JB_Section_Services::get_instance();
$class = serialize($class);
JB_Section_Manager()->save_section('services', $class);
    }
    public function __construct($order = 0, $status = 1, $data_type = "", $template_url = '', $name = '', $description = '')
    {
        parent::__construct($order, $data_type, $template_url, $name, $description);
        $this->order = 0;
        $this->status = 1;
        $this->data_type = 'jb_slider';
        $this->template_url = '/includes/modules/slider/template-section-slider';
        $this->name = 'slider';
        $this->description = '';
        $this->init();
    }
    /**
     * init
     * @param void
     * @return void
     * @since 1.0
     * @package JBTHEME
     * @category void
     * @author JACK BUI
     */
    public function init()
    {
        global $jb_post_factory;
        $jb_post_factory->set('jb_slider', new JB_Data_Section_Slider());
    }
}
$class = JB_Section_Slider::get_instance();
$class = serialize($class);
JB_Section_Manager()->save_section('slider', $class);
<?php

/**
 * home page template
 * @package JB
 * @author JACK BUI
 */
get_header();
global $jb_theme_options;
$sections = JB_Section_Manager()->jb_get_section_list_infor();
foreach ($sections as $key => $value) {
    if ($key == 'slider') {
        $value->render();
    }
}
?>
  <div id="pageWrapper">
    <!-- Content Wrapper-->
    <div class="contentWrapper">
      <?php 
foreach ($sections as $key => $value) {
    if ($key != 'slider') {
        $value->render();
    }
}
?>
    </div>
  </div>
<?php 
get_footer();
<?php

$services = JB_Section_Manager()->get_section('services');
if (!empty($services)) {
    global $jb_post_factory, $post;
    $service_obj = $jb_post_factory->get('jb_services');
    $args = array('post_type' => 'jb_services', 'post_status' => 'publish');
    query_posts($args);
    if (have_posts()) {
        ?>
<section id="services" class="clearfix bgColor2">
  <div class="container">
    <div class="row row-padding">
      <div class="title-padding">
        <h2><?php 
        echo $services->name;
        ?>
</h2><span class="line"></span>
        <p><?php 
        echo $services->description;
        ?>
</p>
      </div>
      <div class="owl-carousel">
      <?php 
        while (have_posts()) {
            the_post();
            $service = $service_obj->convert($post);
            ?>
        <div class="item"><i class="fa bg <?php 
            echo $service->post_icon . ' ' . $service->post_background;