• Resolved ajennell

    (@ajennell)


    When I click on the permanent link for any of the posts on my site, the individual page shows all posts, not just the one it should be showing. I have turned off all widgets, reinstalled the theme, and even reinstalled wordpress, but it still reverts to this. It will load as normal for a while but the dates on the main page will disappear. Then it will revert to this error but the dates will be fine.

    You can view the error here: https://www.thegildedpen.com

    Any help? Is this a wordpress 2.6 error? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Your code is messed up.
    I did not see any errors, the site is doing exactly what you have coded.

    Since your main page has the dates hard coded they will never change. So if you click on a post it goes to another page that displays exactly the same stuff as your main page, except there are no dates. So poof they disappear.

    Your subsequent pages are only displaying what you have hard coded on that page. It’s as if you have no posting system at all. Just hard coded repeating information.

    Compare your source code for each page. Also WordPress does not use a separate page for each post, the posts are only held under categories.

    Basically the same page is filled with info from your database every time a link is clicked. You seem to have bypassed this.

    I truly hope this makes sense, I got confused myself trying to figure it out!

    Thread Starter ajennell

    (@ajennell)

    I think I understand what you’re getting at. Now I just have to figure out what I did to fix it.

    Thanks for pointing me in the right direction!

    Thread Starter ajennell

    (@ajennell)

    Ok, so I’m using the same codes the default wordpress theme, but I still get the same problem. The default wordpress theme does not give me the multiple posts, but mine does despite the fact that I am using the default theme. Any suggestions?

    Do you have a single.php for your theme? Did you use the default theme’s single.php code?

    Thread Starter ajennell

    (@ajennell)

    Yup. I had set up my own then tried the default but I still get the same error. I re-did my index with the code from ‘default’ as well as page.php but I still get the same error.

    Thread Starter ajennell

    (@ajennell)

    I may have figured it out. I think the problem is the coding in my sidebar.php file that is called before the main layout…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Please help! Single post showing multiple posts’ is closed to new replies.