Ejemplo n.º 1
0
</article>
<?php 
} else {
    ?>

<?php 
    while (have_posts()) {
        the_post();
        ?>
<div class="col-sm-6 col-lg-4">
	<article class="post <?php 
        echo get_post_format();
        ?>
">
		<?php 
        the_title(sprintf('<h2 class="h4"><a href="%s" rel="bookmark">', bootplate_get_post_link()), '</a></h2>');
        ?>
		<div class="the-excerpt">
			<?php 
        the_excerpt();
        ?>
		</div>
		<p class="post-meta"><?php 
        _e('By', 'bootplate');
        ?>
 <?php 
        the_author_posts_link();
        ?>
 <?php 
        _e('last updated', 'bootplate');
        ?>
Ejemplo n.º 2
0
<?php

/*
 * Template for serp
 */
?>

<article id="page-<?php 
the_ID();
?>
" class="serp">
	<h2 class="h4 no-margin"><a href="<?php 
echo bootplate_get_post_link();
?>
"><?php 
the_title();
?>
</a></h2>
	<cite><?php 
echo bootplate_get_post_link();
?>
</cite>
	<?php 
the_excerpt();
?>
</article>