• Hi
    I’m having a couple of problems getting single posts to appear as, well, single posts.

    I have both an index.php file and a single.php file but WP seems to ignore single.php and always uses index.php for single posts.

    Issue is that it’s not printing just the single post when the user clicks through from the list of posts – it’s printing ALL posts.

    Any suggestions where I might be going wrong? Index.php and single.php are just the standard simple ones, nothing clever added or taken away.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try using the single.php from the default theme.

    Thread Starter noobie

    (@noobie)

    Hi

    Yes I gave that a go but it’s still showing multiple posts (that’s when I tried copying the default single.php over my own one and also even when I pasted it over the index.php!).

    If you resort to the default theme do you see the problem?

    Is the theme editor seeing your index.php as “Main Index Template” and single.php as “Single Post?”

    Thread Starter noobie

    (@noobie)

    Yes – still got the problem.

    Link to see the problem?

    There was a similar thread earlier (just can’t find it) and all the trouble was caused by wrong permalink settings. What happens if you set the permalinks to the default?

    Thread Starter noobie

    (@noobie)

    Ah that did it! Thanks rudolf45!

    I think I saw that post in passing but didn’t think it could be the solution as it had all worked fine up to now (just upgraded to 2.1).

    Thanks again.

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

The topic ‘Single Post problems’ is closed to new replies.