Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class td_module_3 extends td_module {
- function __construct($post) {
- //run the parrent constructor
- parent::__construct($post);
- }
- function render() {
- ob_start();
- ?>
- <div class="td_mod3 td_mod_wrap <?php echo $this->get_no_thumb_class();?>" <?php echo $this->get_item_scope();?>>
- <?php echo $this->get_image('art-thumb');?>
- <div class="item-details">
- <?php echo $this->get_title(td_util::get_option('tds_mod3_title_excerpt'));?>
- <?php
- $this->td_post_theme_settings = get_post_meta($this->post->ID, 'td_post_theme_settings', true);
- if (!empty($this->td_post_theme_settings['td_source']) or !empty($this->td_post_theme_settings['td_source_url'])){
- echo '<div class="post-source-via"><div class="post-via"><a rel="nofollow" href="' . $this->td_post_theme_settings['td_source_url'] . '">' . $this->td_post_theme_settings['td_source'] . '</a></div></div>';
- }
- //echo @$this->td_post_theme_settings['td_source'];
- ?>
- <div class="meta-info">
- <?php //echo $this->get_author();?>
- <?php echo $this->get_date();?>
- <?php //echo $this->get_commentsAndViews();?>
- </div>
- </div>
- <?php echo $this->get_item_scope_meta();?>
- </div>
- <?php return ob_get_clean();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment