WordPress.org

Ready to get started?Download WordPress

Forums

3 Column Layout on Classic 1.5 theme (7 posts)

  1. alechughes
    Member
    Posted 8 years ago #

    I have only recently started trying to edit the wp classic 1.5 template. I have switched my columns around so my blogroll etc etc is on the left, I now want to add in another column on the right hand side for links etc etc. What i have done is copy the sidebar.php and renamed it to rightbar.php. I have added the relevant code into my css.

    The problem i am having is that the php get_rightbar() function that i am using does not find the function call.

    I have also noticed that it does not change the name of the file rightbar.php to the Rightbar Template on the presentation editor like it does for index.php to Main Template. This is purely for assthetics i know, but i am wondering is this to do with the fact that my file is not linked into the theme correctly, and if so, how do i correct this?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Had a look at Trident ?
    http://t37.net/trident

  3. alechughes
    Member
    Posted 8 years ago #

    Had a look around but it doesnt really answer my question.

    I am getting this error
    Fatal error: Call to undefined function: get_rightbar() at (filelocation/footer.php) on line 11

    <?php get_rightbar(); ?>
    this is the function call code it is having problems with

    WordPress Classic' theme files
    Stylesheet

    Popup Comments Template
    Comments Template
    Footer Template
    Header Template
    Main Template
    rightbar.php
    Sidebar Template

    and that is what i meant by the incorect file linking because i have added another file to the template.

    What i wondered is if anyone knows how to link a new.php file into a template so the standard get_page function works to find my new php script

    thanks

  4. alechughes
    Member
    Posted 8 years ago #

    Its ok now, i seem to have sorted it out by including my othersidebar as a separate div in my sidebar.php file

    thanks for the ideas anyway.
    alec

  5. jCounsel
    Member
    Posted 8 years ago #

    I was going to say look at the code in Trident or one of Mike Little's templates/themes.

    Anyway...

  6. jwurster
    Member
    Posted 8 years ago #

    I got a classic 3-column layout from http://www.liewcf.com/. Is that what you started with?

  7. I think he started from the WP Classic theme, bundled with the installation, and added a third column.
    I've got my own version here:
    http://atypicalife.net/blog/?page_id=131
    but still as the OP asked, haven't figured out how to call (or have the theme recognize) a seperate file for the third column.

Topic Closed

This topic has been closed to new replies.

About this Topic