Esempio n. 1
0
 function renderCategory()
 {
     if ($this->instance["show_category"]) {
         xt_post_category();
     }
 }
Esempio n. 2
0
>
	<div class="active-border"></div>
	<a href="<?php 
echo esc_url(get_permalink($post->ID));
?>
" data-postid="<?php 
echo esc_attr($post->ID);
?>
">
	
		<div class="meta">	
		<?php 
if (!empty($tab_post_category)) {
    ?>
			<?php 
    echo xt_post_category(false);
    ?>
		<?php 
}
?>
	
		</div>
		
		<?php 
echo esc_html(get_the_title());
?>
		
		<div class="meta">
		
		<?php 
if (!empty($tab_post_author)) {
 function renderCategory()
 {
     if (!empty($this->instance["show_category"])) {
         $max = 1;
         if (!empty($this->instance["max_categories"])) {
             $max = intVal($this->instance["max_categories"]);
         }
         xt_post_category(true, $max);
     }
 }
Esempio n. 4
0
        ?>
			<div class="thumb">
				<?php 
        xt_post_thumbnail($thumb_size);
        ?>
			</div>
			<?php 
    }
    ?>
			<div class="meta">	
			
				<?php 
    if ($show_post_category) {
        ?>
					<?php 
        xt_post_category();
        ?>
				<?php 
    }
    ?>
	
				<?php 
    xt_post_title($title_heading, $title_class);
    ?>
				
				<?php 
    if ($show_post_excerpt) {
        ?>
					<?php 
        xt_post_excerpt($excerpt_heading, $excerpt_class);
        ?>