Browse Source

now page ⏰

windhamdavid 1 year ago
parent
commit
8a5b9c394b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      page-now.php

+ 1 - 1
page-now.php

@@ -31,7 +31,7 @@ get_header(); ?>
                 <?php endforeach; ?>
                 <?php endforeach; ?>
               <br>
               <br>
               <?php } ?>
               <?php } ?>
-							<?php $recentposts = get_posts(array( 'numberposts' => 11, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
+							<?php $recentposts = get_posts(array( 'numberposts' => 7, 'offset' => 0 ) ); foreach ($recentposts as $post) : setup_postdata($post); ?>
 							       <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
 							       <li style="color:#777"><?php echo get_the_date('y/m/d'); ?> - <a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
 							<?php endforeach; ?>
 							<?php endforeach; ?>
 						</ul>
 						</ul>