some page templates

This commit is contained in:
2018-08-10 18:48:11 -05:00
parent be874660e3
commit 6bac3c395b
11 changed files with 178 additions and 28 deletions

View File

@ -3,7 +3,7 @@
$sticky = get_option( 'sticky_posts' );
$args = array(
'posts_per_page' => 10,
'posts_per_page' => 12,
'post__in' => $sticky,
'ignore_sticky_posts' => 1
);
@ -12,13 +12,14 @@
if ( isset($sticky[0]) && $query->have_posts() ) {
while ( $query->have_posts() ) {
$query->the_post(); ?>
<section class="home-loop">
<a href="<?php echo get_page_link(); ?>"><?php
the_title( '<h1>', '</h1>' );
the_post_thumbnail();
// the_excerpt();
?></a>
</section>
<?php }
}