/**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Post Meta', 'themify-flow'), 'slug' => 'post-meta', 'shortcode' => 'tf_post_meta', 'close_type' => TF_Shortcodes::ENCLOSED, 'description' => 'Display post meta', 'category' => 'loop'));
     // Register shortcode
     add_shortcode($this->shortcode, array($this, 'render_shortcode'));
     // Additional shortcodes
     $shortcodes = array('post_date', 'post_author', 'post_category', 'post_tag', 'post_comment_count');
     foreach ($shortcodes as $shortcode) {
         add_shortcode('tf_' . $shortcode, array($this, $shortcode));
     }
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Excerpt/Content', 'themify-flow'), 'slug' => 'post-excerpt-content', 'shortcode' => 'tf_post_excerpt_content', 'description' => 'Display excerpt / content', 'category' => 'loop'));
     // Register shortcode
     add_shortcode($this->shortcode, array($this, 'render_shortcode'));
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Featured Image', 'themify-flow'), 'slug' => 'featured-image', 'shortcode' => 'tf_featured_image', 'description' => 'Featured Image', 'category' => 'loop'));
     // Register shortcode
     add_shortcode($this->shortcode, array($this, 'render_shortcode'));
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Text', 'themify-flow'), 'slug' => 'post-text', 'shortcode' => 'tf_post_text', 'close_type' => TF_Shortcodes::ENCLOSED, 'description' => 'Post Text', 'category' => 'loop'));
     // Register shortcode
     add_shortcode($this->shortcode, array($this, 'render_shortcode'));
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Post Title', 'themify-flow'), 'slug' => 'post-title', 'shortcode' => 'tf_post_title', 'description' => 'Post Title', 'category' => 'loop'));
     // Register shortcode
     add_shortcode($this->shortcode, array($this, 'render_shortcode'));
 }