• Because it’s difficult enough having to explain it, I’ve gone ahead and modified the default (Kubrick 1.5) theme to provide a sidebar at all times:

    https://guff.szub.net/wp-content/default_allsidebar.zip

    To use, unzip to the directory/folder “default_allsidebar”, upload this to your wp-content/themes/ directory on your blog’s site, and select “WP Default – AllSidebar Edition” under Presentation in WordPress.

    Changes:

    * Templates previously single-column reset to the ‘narrowcolumn’ id.
    * <?php get_sidebar(); ?> added to those templates which lacked it.
    * Reference in header.php to kubrickbgwide.jpg removed.
    * A tiny bit of cleanup, clarification of comments.

    I also slipped in the get_calendar() template tag, though it is commented out; to display it, remove the html comments from around it in sidebar.php.

    Note: If this steps on any toes, so be it.

    UPDATE: For those who want to display links and login info in your sidebar at all times as well, I’ve separately made available a modified version of this:

    https://guff.szub.net/wp-content/kubrick_sidebar.zip

    Extract sidebar.php from the zip and replace your current one (either in default or default_allsidebar) with it.

Viewing 15 replies - 31 through 45 (of 76 total)
  • Moderator James Huff

    (@macmanx)

    “The download link does not work”

    No problem here.

    Since I installed this more than needed mod (thanx a lot!) there is the following warning message, when i.e. editing a post:
    Warning: Invalid argument supplied for foreach() in /www/htdocs/abcdefghjikl/wordpress/wp-admin/admin-functions.php on line 617

    Any ideas?

    Thread Starter Kafkaesqui

    (@kafkaesqui)

    Presser, is it possible you assigned to a Page a Page template that doesn’t exist within the default/Allsidebar theme?

    I get this warning also when writing a new page. I have installed the static homepage-plugin, but I dont think that matters, does it?

    I’ve been running WP 1.5 with the ‘default’ theme since the first day I downloaded it, and the sidebar never goes away. I use pages only.

    Why is this ‘mod’ such big news?

    the ‘default’ theme since the first day I downloaded it, and the sidebar never goes away. I use pages only.

    That’s why! In Pages the sidebar stays – in posts, when viewed a single post, there is no sidebar in the original Default.

    Awesome easy, thanks alot Kafka ??

    Thanks,

    This is great.

    How can I vertically align the sidebar to the top of the column in index.php?

    It’s @ the top for sub-pages, but not on the main page…

    Have tried quite a few things, including

    #sidebar in style.css

    Thanks!

    I’m having a similar problem. You can see it here https://siquekitten.org.
    Would appreciate it if someone can help me out. Thanks in advance.

    Thread Starter Kafkaesqui

    (@kafkaesqui)

    Quinn, I don’t know if you fixed things, but viewing your site in IE6 (XP) doesn’t show a problem with the sidebar.

    Any ideas on how to apply this to the Blix theme (which is a mod of Kubrick)? I’ve been scanning the different primary files and it seems every file already has <?php get_sidebar(); ?> at the bottom. The theme does not have class id “widecolumn” in the page.php file.

    Thread Starter Kafkaesqui

    (@kafkaesqui)

    Blix may be a mod of Kubrick, but in a whole lot of ways it’s become a completely different animal.

    Besides adding get_sidebar() to your page.php, you also need to edit the following line in header.php:

    <body><div id="container"<?php if (is_page() && !is_page("archives")) echo " class="singlecol""; ?>>

    to:

    <body><div id="container">

    Depending on what you want to appear on the sidebar when in Pages, you’ll also need to edit the conditional statements in sidebar.php. For example, the section that starts:

    <?php if (is_home()) { ?>

    Could be changed to:

    <?php if (is_home() || is_page()) { ?>

    That will display the categories, links and feeds.

    Kafkaesqui

    Just wanted to say thanks mate… I had the same problems with the side bar as most here did and with just a couple of searches in the support forums found this thread…

    Nice one Kaf… thanks for all your help

    Chiefmonkey

    Kafkaesqui

    I too just want to say thatk you for solving something that has been bothering me for most of the summer . I have tried out over 20 themes looking for one that did what I wanted it to do … show the sidebar in all pages and posts.

    I downloaded your allsidebar edition, set it up in minutes and now I am off and running — https://www.barganews.com/daily/

    Thanks again mate …wonderful all this sharing of expertise and information … this forum actually feels like the internet used to feel like a decade ago (ok, not 10 years but 9 years ago when i first started putting stuff on the net in 1996)

    WordPress and the people in here have restored my flagging faith in what it is possible to do on the net.

    ciao
    db

    nieuws

    (@nieuws)

    Big improvement ??

    Exactly what I was looking for. Just one question. Although I have the side bar showing for single posts, it’s background colour is white instead of the grey colour on all other pages. How do I fix this so that the sidebar shows as grey on single posts?

    Thanks!

Viewing 15 replies - 31 through 45 (of 76 total)
  • The topic ‘Theme: Kubrick 1.5 – AllSidebar Edition’ is closed to new replies.