Title: Layout
Last modified: August 18, 2016

---

# Layout

 *  [noahsdad97](https://wordpress.org/support/users/noahsdad97/)
 * (@noahsdad97)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/layout-1-3/)
 * I am fairly new to WordPress and am unable to figure out how to figure my site
   to do the following. I want only current month content on the main page. When
   a new month begins, content for the previous month should not appear on the main
   page, but rather under the Archive tab. Thanks for any help you may provide.

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/layout-1-3/#post-431376)
 * There is no such feature in WP.
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/layout-1-3/#post-431385)
 * It’s easy but my php coding is rusty right now so I can’t give the exact code.
   But here is the logic.
 * 1. Get the CURRENT MONTH and CURRENT YEAR with a couple lines of php code.
    2.
   Pass that CURRENT MONTH and CURRENT YEAR to query_posts() [http://codex.wordpress.org/Template_Tags/query_posts#Time_Parameters](http://codex.wordpress.org/Template_Tags/query_posts#Time_Parameters)

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

The topic ‘Layout’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/layout-1-3/#post-431385)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
