some page templates
This commit is contained in:
@ -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 }
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user