• I want to have the entire sidebar (including all links as it appears on the home page) appear on all my blog pages (archives, single articles, comments etc).
    Can anyone tell me how to do this please?
    thanks
    Jewel

Viewing 15 replies - 1 through 15 (of 16 total)
  • Yes, I’d be interested in knowing this, too.

    Thread Starter jewelwg

    (@jewelwg)

    no one wants to tell us yet…..:-)

    Me too!

    I have not done this myself, but I don’t think it is anything difficult. For instance, with the archives, first you need to change the content class to be narrowcolumn, and add get_sidebar() before get_footer().

    Thanks AsceticMonk! Would I be correct in saying that your changes should be made in index.php? I viewed binarybonsai.com to check how they did it, but got lost in the code. ??

    Thread Starter jewelwg

    (@jewelwg)

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php get_links_list(); ?>

    this appears in sidebar.php. How do I modify this to get the links list to turn up in the sidebar on all pages of the blog?

    changing content class is fine but it then shrinks the text of the post!

    You would add it to the footer.php just above the get footer like this

    <?php get_sidebar(); ?>

    add <?php get_sidebar(); ?> as dawg says, but don’t forget to change

    div id=widecolumn
    to
    div id=narrowcolumn

    to make room for the sidebar

    Ya beat me to it AsceticMonk! I JUST did this to my site earlier today! You’ll also wanna comment out the part of the inline CSS that contains the PHP to check if it’s a single post or not. Otherwise you’ll notice that on some pages the sidebar is color where as on others it isn’t.

    Thread Starter jewelwg

    (@jewelwg)

    re satoshi about commenting out the inline css, every time I do that it breaks the page! Can you show me exactly what to comment out please?

    /* your comment*/

    n 1.5 there is no place to do this….

    Thread Starter jewelwg

    (@jewelwg)

    ok we have these 3 lines in the inline image css:

    body { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgcolor.jpg”); } <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg.jpg”) repeat-y top; border: none; } <?php } else { // No sidebar ?>
    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; } <?php } ?>

    The trouble is every time I coment out the “checks to see if sidebar” stuff from the end of the lines, it breaks the whole page with parsing errors. If anyone can recopy this for me with the relevant stuff commented out I would be grateful.
    (I can see and find what needs doing, but cant read the php to do it.
    This is going to be my summer project…learn to read php!)

    I messed around with this stuff but couldn’t figure it out. Has anyone managed to get the sidebar to ‘stick’ in 1.5?

    Kubrick 1.5 – AllSidebar Edition:

    https://www.ads-software.com/support/topic.php?id=25616

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Kubrick: need full sidebar on ALL pages’ is closed to new replies.