Esempio n. 1
0
			<header>
				<h2 class="loop-entry-title"><a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    echo esc_attr(the_title_attribute('echo=0'));
    ?>
"><?php 
    the_title();
    ?>
</a></h2>
				<?php 
    // Display post meta details
    pg_post_meta();
    ?>
			</header>
			<div class="loop-entry-content entry clr">
				<?php 
    if (get_theme_mod('pg_entry_content_excerpt', 'excerpt') == 'content') {
        the_content();
    } else {
        $pg_readmore = get_theme_mod('pg_blog_readmore', '1') == '1' ? true : false;
        pg_excerpt(93, $pg_readmore);
    }
    ?>
			</div><!-- .loop-entry-content -->
		</div><!-- .loop-entry-text -->
	</article><!-- .loop-entry -->

<?php 
}
Esempio n. 2
0
    echo pg_get_featured_img_url();
    ?>
" alt="<?php 
    echo esc_attr(the_title_attribute('echo=0'));
    ?>
" />
			</a>
		</div><!-- .post-entry-thumbnail -->
	<?php 
}
?>
	<div class="search-entry-text clr">
		<header>
			<h2 class="search-entry-title"><a href="<?php 
the_permalink();
?>
" title="<?php 
echo esc_attr(the_title_attribute('echo=0'));
?>
"><?php 
the_title();
?>
</a></h2>
		</header>
		<div class="search-entry-content entry clr">
			<?php 
pg_excerpt(50);
?>
		</div><!-- .search-entry-content -->
	</div><!-- .search-entry-text -->
</article><!-- .search-entry -->