Title: Recent post section customizing
Last modified: May 3, 2017

---

# Recent post section customizing

 *  Resolved [zlatkotesk](https://wordpress.org/support/users/zlatkotesk/)
 * (@zlatkotesk)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/recent-post-section-customizing/)
 * Hello,
 * is there a way how to show only standard posts in Recent posts section? I couldn
   ´t find a way to do it through customization, maybe adding a code in CSS editor?
 * Now the feed shows standard posts but also posts marked as Photo, that also appear
   in gallery section below, so they are on the homepage twice and I would like 
   to have it only in gallery section.
 * Thank you very much for your help
 * Zlatko

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [Dinev Dmitry](https://wordpress.org/support/users/dimadinev/)
 * (@dimadinev)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/recent-post-section-customizing/#post-9103655)
 * Hi,
    You can do this by changing the line in the file …/template-parts/section-
   blog.php
 *     ```
       	                $args = array(
       	                                'posts_per_page' => $limit_num,
       	                                'post_status' => 'publish',
       	                        );
       ```
   
 * add after
    `'post_status' => 'publish',` this lines:
 *     ```
       				'tax_query'      => 	array(
       							array(
       								'taxonomy' => 'post_format',
       								'terms'    => array( 'post-format-image' ),
       								'field'    => 'slug',
       								'operator' => 'NOT IN',
       							),
       						),
       ```
   
 * It is better to do these changes using the child theme.
 *  Thread Starter [zlatkotesk](https://wordpress.org/support/users/zlatkotesk/)
 * (@zlatkotesk)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/recent-post-section-customizing/#post-9105761)
 * Thank your for your help, it works,
 * And thank you for a great theme!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Recent post section customizing’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/teletype/1.4.0/screenshot.png)
 * Teletype
 * [Support Threads](https://wordpress.org/support/theme/teletype/)
 * [Active Topics](https://wordpress.org/support/theme/teletype/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/teletype/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/teletype/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [zlatkotesk](https://wordpress.org/support/users/zlatkotesk/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/recent-post-section-customizing/#post-9105761)
 * Status: resolved