Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Different sidebar on only my blog page using wordpress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27771
    yupimrich
    Member

    Hi folks.
    I am trying to get a different sidebar to appear only on my blog page.

    I am using wordpress as a CMS for the whole site and have static pages everywhere except my blog post. I know the problem is probably due to the fact that wordpress doesn’t recognize the blog page as a "page" but treats it differently.

    I have tried making a new page template (blog.php) and a new sidebar (blog_sidebar.php) and copying and pasting my index.php text into the blog.php and changing the get_sidebar.php accordingly, but it doesn’t work at all for my blog section.

    If anyone could point me in a direction to fix this I would greatly appreciate it.

    Also, I am developing this site on a localhost so I don’t have any site to point you to in order to see what I am talking about.

    #70305
    yupimrich
    Member

    Hey
    thanks for the reply Josh-the code isn’t working for me though.

    I guess to simplify my question I will just ask this…

    Is it possible for a wordpress CMS site to have a different sidebar for a static homepage and for the posts page?

    It doesn’t seem possible to me, but I am sure there is a way

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.