• Hi guys,
    I have really strange problem with displaying single posts in my wordpress page.
    Some posts are displaying correctly – wordpress load single.php to display content but most of the posts are not loaded using file single.php but page.php.
    Of course I have every content on my page in post category not page.

    Maybe you know why wordpress detect posts content as pages?

Viewing 1 replies (of 1 total)
  • Thread Starter Piotr Szarmach

    (@pietrek)

    ok guys I resolved this problem.

    When I was using permalink like %postname% wordpress detect content not as post or page as I thought before but as attachment. Changing permalink to /%category%/%postname% resolved my problem.

    Anyway this is really strange… why wordpress treated my post content like attachment? Both of this content have different ID’s but same name, shouldn’t wordpress recognize the difference between items?

Viewing 1 replies (of 1 total)
  • The topic ‘strange problem with displaying single posts’ is closed to new replies.