Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 586 Bytes
<snippet>
<content><![CDATA[
/*
* Display posts.
* codex: https://codex.wordpress.org/The_Loop
*/
if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- The content goes here -->
<?php endwhile; ?>
<div class="navigation">
<div class="next-posts"><?php next_posts_link(); ?></div>
<div class="prev-posts"><?php previous_posts_link(); ?></div>
</div>
<?php else : ?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<h1>Not Found</h1>
</div>
<?php endif; ?>
]]></content>
<tabTrigger>the_loop</tabTrigger>
<scope>source.php</scope>
</snippet>