WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Bligblog Page-sidebar question (9 posts)

  1. brandon206
    Member
    Posted 7 years ago #

    I've got BligBlog installed and I'd like to get the contents of the sidebar to be visible on ALL pages, but currently, the "Activity" and "Pages" are all that show.

    Normally, I've found that's because there's a php code of "if home" or something like that, but this sidebar doesn't have anything like that.

    </li><!-- End of Pages -->
    <li><!-- Categories -->
    <h2><?php _e('Categories'); ?></h2>
    <ul>
    <?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
    </ul>
    </li><!-- End of Categories -->
    <li><!-- Links -->
    <h2><?php _e('Links'); ?></h2>
    <ul>
    <?php get_links(-1, '<li>', '</li>', '', TRUE, 'url', FALSE); ?>
    </ul>
    </li><!-- End of Links -->
    <li><!-- Archives -->
    <h2><?php _e('Archives'); ?></h2>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </li><!-- End of Archives -->

    HELP!

  2. moshu
    Member
    Posted 7 years ago #

    Well, if there is "anything like that" (i.e. is_home conditional) that should be ABOVE the code you posted.

    BTW, don't post code here - nobody reads it. Please use the http://wordpress.pastebin.ca and post back with the URI.
    (Paste there the whole sidebar code!)

  3. brandon206
    Member
    Posted 7 years ago #

    K... I'll post the link to the code. So you see my confusion... there is no conditional in that portion of code i posted. In fact, I can't find it anywhere in the sidebar.

  4. brandon206
    Member
    Posted 7 years ago #

  5. moshu
    Member
    Posted 7 years ago #

    Actually, there is an is_home conditional - around the theme switcher.
    A link would be beneficial as well as the clarification whether we talk about pages (as in webpage) or Pages (as WP's static thing).

  6. brandon206
    Member
    Posted 7 years ago #

    oops.. sorry, here ya go: http://brandonplank.com/site/

  7. brandon206
    Member
    Posted 7 years ago #

    See, I thought that conditional only affected the theme switcher? What I don't understand is how I removed the php call for the 'activity' to show in the sidebar, so it doesn't show that in the main page, but DOES on any other page. That confuses me, because I thought the sidebar was accessed on all pages.

  8. moshu
    Member
    Posted 7 years ago #

    Ah, that's an idiotic theme structure :(
    The sidebar for the Pages is in the page.php template. Delete the whole sidebar stuff from there, and call the normal sidebar as it is done in the index - if that's what you want.

  9. brandon206
    Member
    Posted 7 years ago #

    oh DUH. I didn't bother to look at that page, but there's a note in there that says "if you want to bring up the sidebar.."

    Thanks Moshu!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags