WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar menue on all pages (14 posts)

  1. artitumis
    Member
    Posted 9 years ago #

    I want the sidebar menu to show up on all pages of my site. Right now it is only on the index. How do I go about making that happen?
    Thanks!
    Marcus

  2. Beel
    Member
    Posted 9 years ago #

    Apparently you have edited the index page improperly. Hard to say how to fix it since we don't know what you have added/deleted/changed.

  3. artitumis
    Member
    Posted 9 years ago #

    Even when I first installed WordPress and looked at the comments for the very first entry it was not there. From my understanding, the index only controls the index and everything else is controld by the wp-whatever files. Am I wrong?

  4. Were you still trying to figure this out? By design, the Kubrick template removes the site navigation when you're looking at a single post.

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Yes I am, btvillarin. I neglicted to mention I use the Kubrick template so good job on picking that up. Where and in which Kubrick file does it remove the navigation? Thanks a lot!

  6. artitumis
    Member
    Posted 9 years ago #

    Oops, forgot to login.

  7. artitumis
    Member
    Posted 9 years ago #

    bump

  8. Fernando
    Member
    Posted 9 years ago #

    artitumis: I have never used the Kubrick code, but I downloaded it to find a solution for you. Try the following in Kubrick's default index.php file:

    1. On line 117, change class="widecolumn" to class="narrowcolumn"
    2. Remove line 258:
      <? // Begin Sidebar Menu ?>
    3. Remove line 259:
      <?php /* If this is not a permalink page, show the menu */ if (!($withcomments) && (!$single)) { ?>
    4. Then hop down to line 342 and delete:
      <? } // End Sidebar Menu ?>

    Be sure to backup your index file in case I am wrong.

  9. Anonymous
    Unregistered
    Posted 9 years ago #

    That seems to almost do it. It makes the extra space for the menu, but doesn't show the text.

  10. Fernando
    Member
    Posted 9 years ago #

    Are you sure that you removed lines 258, 259, and 342? I just uploaded Kubrick 1.2.5 and it worked perfectly when I did exactly what I told you to do.
    The reason the sidebar doesn't show up on the permalink pages is because line 259 basically says "if the page is NOT displaying a single post, show this code for the sidebar." If you ARE on a single (permalinked) page, it will NOT show the sidebar if you DO NOT remove that code.
    After you remove those PHP lines, you should have no problem at all.

  11. artitumis
    Member
    Posted 9 years ago #

    Well, I just commented them out uncase I wanted to use it again. This time I full out deleted it and it worked. Thank you so much for your help!
    -Marcus
    http://www.artitumis.com

  12. mistafox
    Member
    Posted 9 years ago #

    Hi Fernando,
    this is great. I was looking for a solution for the same Problem.

    Thank you,
    Micha

  13. michelle
    Member
    Posted 9 years ago #

    Alternatively, I don't want the sidebar on any of my pages. I'm using the Retrospective theme with links at the top, and I don't want any of that busy-ness on the side. How do I get rid of it on all my pages?

    Thanks!

  14. moshu
    Member
    Posted 9 years ago #

    Then your post does NOT belong to this thread. Start your own with the proper question in the title. Or, better, ask the author of the theme.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.