Only feed posts of cat 'news' to frontpage
authorLaury GvR <laury@gaslightmedia.com>
Mon, 30 Apr 2018 19:42:57 +0000 (15:42 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 30 Apr 2018 19:42:57 +0000 (15:42 -0400)
parts/blog-feed-front.php

index 8660db6..6913cd3 100644 (file)
@@ -1,4 +1,4 @@
-<?php $args = array( 'numberposts' => 4);?>
+<?php $args = array( 'numberposts' => 4, 'category_name' => 'news');?>
 <div id="home-feed-posts">
 <?php
 $lastposts = get_posts( $args );