• I’m a newbie with WordPress and can’t figure out how to use the single.php template. I’ve got my posts showing up fine on the index.php template, but when I click a post for more info, all of the posts are visible instead of that single post.

    What am I doing wrong here? How exactly does it work? When you click on post should it show the extended text and comment form via “if statement”, or does it click over to the single.php template?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Switch to the WordPress Default theme and see how the Template Hierarchy ‘works’ for single posts. Then look at the wp-content/themes/default/single.php for ideas.

    Thread Starter earphinteractive

    (@earphinteractive)

    Ok, I’ve read some posts on how the single.php template works and it makes sense, and I’ve also looked at the “Default” single.php template, but having a hard time figuring out what’s wrong.

    I’m getting multiple posts when single.php is used. A friend mentioned that I should “limit” the posts to 1 on that page, but not sure how. Is that the right approach?

    Are you using a third-party theme, or your a theme you coded yourself?

    Thread Starter earphinteractive

    (@earphinteractive)

    Theme I coded myself….

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

The topic ‘single.php showing multiple posts’ is closed to new replies.