how can I add a custom third side bar to wordpress?

Discussion in 'HTML & Website Design' started by js09, May 3, 2007.

  1. #1
    looking at my current theme and its main index template, i'm seeing <?php get_sidebar(); ?> which simply enough retrieves the sidebar.php file.

    what i'm trying to do is add something like <?php get_SECONDsidebar(); ?> and create SECONDsidebar.php and upload it to the server.

    assume i have the stylesheet ready for the new sidebar

    why can't I do this? I get the error:
    Fatal error: Call to undefined function get_waysidebar() in /home/niftytut/public_html/wp-content/themes/nifty-v1/index.php on line 39

    line 39 is where I added the '<?php get_SECONDsidebar(); ?>'

    i simply want to add a new sidebar where I can create my own links/content/stuff

    thanks for the help!
     
    js09, May 3, 2007 IP
  2. js09

    js09 Peon

    Messages:
    232
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i concluded that the function 'get_sidebar' is built into wordpress and i can mess with it anyway, so i just did:
    <?PHP include("waysidebar.php"); ?>

    works great :)
     
    js09, May 3, 2007 IP
  3. Spikeon

    Spikeon Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thats interesting, i'll be sure to jut that down in my little black book
     
    Spikeon, May 3, 2007 IP