Guest User

td_module_2

a guest
May 4th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.01 KB | None | 0 0
  1. <?php
  2. class td_module_2 extends td_module {
  3.     function __construct($post) {
  4.         //run the parrent constructor
  5.         parent::__construct($post);
  6.     }
  7.  
  8.     function render() {
  9.         ob_start();
  10.         ?>
  11.  
  12.         <div class="td_mod2 td_mod_wrap <?php echo $this->get_no_thumb_class();?>" <?php echo $this->get_item_scope() ?>>
  13.             <?php echo $this->get_image('art-big-1col'); ?>
  14.  
  15.             <?php echo $this->get_title(td_util::get_option('tds_mod2_title_excerpt')); ?>
  16.  
  17.             <div class="meta-info">
  18.                 <?php //echo $this->get_author(); ?>
  19.                 <?php echo $this->get_date(); ?>
  20.                 <?php echo $this->get_commentsAndViews(); ?>
  21.             </div>
  22.  
  23.             <div class="td-post-text-excerpt">
  24.                 <?php echo $this->get_excerpt(td_util::get_option('tds_mod2_content_excerpt')); ?>
  25.             </div>
  26.  
  27.             <?php echo $this->get_item_scope_meta(); ?>
  28.  
  29.         </div>
  30.  
  31.         <?php
  32.         return ob_get_clean();
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment