예제 #1
0
 function __construct($post = '')
 {
     //run the parent constructor
     parent::__construct($post);
     //read post settings
     $this->td_post_theme_settings = get_post_meta($post->ID, 'td_post_theme_settings', true);
     $this->is_single = is_single();
 }
예제 #2
0
 function __construct($post = '')
 {
     // construct the class without the post object, used in the author template for the box
     if (empty($post)) {
         return;
     }
     parent::__construct($post);
     //read post settings
     $this->td_post_theme_settings = get_post_meta($post->ID, 'td_post_theme_settings', true);
     $this->is_single = is_single();
 }
예제 #3
0
 function __construct($post)
 {
     //run the parrent constructor
     parent::__construct($post);
 }
예제 #4
0
 function __construct($post)
 {
     parent::__construct($post);
 }