Title: Make index.php do what single.php does?
Last modified: August 18, 2016

---

# Make index.php do what single.php does?

 *  Resolved [mbalara](https://wordpress.org/support/users/mbalara/)
 * (@mbalara)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/make-indexphp-do-what-singlephp-does/)
 * My specific problem: if I put a `<?php comments_template(); ?>` in my index.php,
   it shows nothing. If I put excactly the same into single.php it does show comments.
   How can I either get index.php to show comments, or how can I tell WP to use 
   single.php as the home page?
 * Background: I’m making a photoblog. Each entry will be only one photo, a short
   description, and comments under that, i.e. all pages are exactly the same.
 * Extra credit question: I only want one entry per page, but of course I want *
   more* than one entry shown on archive pages. But when I set “Show at most 1 post”
   under Options > Writing, it also reduces my archives to one entry and paginates.
   How do I get 1 entry only photo pages, with many entry archives?

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/make-indexphp-do-what-singlephp-does/#post-420911)
 * 1. Try this:
    [http://wordpress.org/support/topic/51557?replies=4#post-282771](http://wordpress.org/support/topic/51557?replies=4#post-282771)
 * 2. Plugin:
    [http://mattread.com/archives/2006/01/custom-query-string-27/](http://mattread.com/archives/2006/01/custom-query-string-27/)
 *  Thread Starter [mbalara](https://wordpress.org/support/users/mbalara/)
 * (@mbalara)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/make-indexphp-do-what-singlephp-does/#post-421371)
 * Excellent, thanks moshu!

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

The topic ‘Make index.php do what single.php does?’ is closed to new replies.

## Tags

 * [home](https://wordpress.org/support/topic-tag/home/)
 * [index](https://wordpress.org/support/topic-tag/index/)
 * [single](https://wordpress.org/support/topic-tag/single/)

 * 2 replies
 * 2 participants
 * Last reply from: [mbalara](https://wordpress.org/support/users/mbalara/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/make-indexphp-do-what-singlephp-does/#post-421371)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
