• Resolved brandon206

    (@brandon206)


    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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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 https://wordpress.pastebin.ca and post back with the URI.
    (Paste there the whole sidebar code!)

    Thread Starter brandon206

    (@brandon206)

    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.

    Thread Starter brandon206

    (@brandon206)

    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).

    Thread Starter brandon206

    (@brandon206)

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

    Thread Starter brandon206

    (@brandon206)

    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.

    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.

    Thread Starter brandon206

    (@brandon206)

    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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Bligblog Page-sidebar question’ is closed to new replies.