Support » Themes and Templates » right sidebar doesn’t show up as option on widget page

  • I’m attempting to customize the Daffodil theme. I’ve managed to do everything I wanted (my test page) EXCEPT I can’t add any widgets to the right sidebar.

    When I visit the widgit page, there is only one option “main sidebar”

    I know the other 3 column theme I used had 2 seperate files for each sidebar – I’m not a programmer… I’m good enough to resize a few options and swap out graphics, but not savvy enough to know syntax for making the 2 sidebar files and having them work with the rest of the theme.

    I doubt just grabbing the 2 files from another theme and dropping them in would work unless I knew how to change references to them in style.php.

Viewing 7 replies - 1 through 7 (of 7 total)
  • esmi


    Forum Moderator

    Sounds like your right sidebar isn’t widget-capable. The changes you need to make to that sidebar file shouldn’t be too difficult:

    does the right sidebar need to have a separate php file of its own in order to be widget-capable? Not sure if you mean I can edit existing sidebar.php or mean making a 2nd file for 2nd sidebar.

    this is the code from style.php that is creating the right column. If I create a new right_sidebar.php file, what do I need to change in the code below to call it?

    #rightcol {
    width: 163px;
    float: right;
    padding: 30px 0 0 0;

    #searchform {
    padding: 0 0 0 17px;
    background: url(images/searchIcon.gif) 22px 4px no-repeat;

    #searchform div {
    background: url(images/searchBk.gif) left top no-repeat;
    padding: 0 0 3px 0;

    #s {
    width: 126px;
    font-size: 0.8em;
    margin: 0 0 0 18px;
    background: transparent;
    color: #ffffff;
    border: 0;
    ul#navlist {
    padding: 0;
    margin: 1.5em 0 0 0;
    list-style: none;
    font-size: 0.9em;
    font-family: Arial, sans-serif;
    text-transform: lowercase;

    ul#navlist li a {
    display: block;
    padding: 3px 0 3px 2.2em;
    background: url(images/navBk.gif) 1em bottom no-repeat;
    color: #ffffff;
    font-weight: bold;
    height: 1%;
    text-decoration: none;

    ul#navlist li a:hover,
    ul#navlist li.current_page_item a,
    ul#navlist li.current_page_ancestor a {
    background: #8d8d8d url(images/navBk.gif) 1em top no-repeat;
    color: #fff;



    Forum Moderator

    There’s a second sidebar somewhere in your theme. Try looking for something like sidebar-2.php or sidebar-right.php. If that fails, open index.php and see what files are being called near the top of the file. Or try looking through your template files for wp_list_pages. When you find that template tag, you’ll have found your second sidebar.

    there is no second sidebar file. the ONLY reference to the right column I can find is the code from style.css that I posted above (starts with #rightcol)

    The ONLY files for the template are as follows…

    404 Template (404.php)
    Archives (archive.php)
    Comments (comments.php)
    Footer (footer.php)
    Header (header.php)
    Main Index Template (index.php)
    Page Template (page.php)
    Search Results (search.php)
    Sidebar (sidebar.php)
    Single Post (single.php)
    Theme Functions (functions.php)
    Stylesheet (style.css)

    I don’t think theme creator built right col as a REAL sidebar?
    a link to style.css

    index.php seems to just call header and footer files…doesn’t mention sidebar.php

    link to index.php

    here is the only php file that references sidebar.
    link to sidebar.php

    By the way – I really appreciate your replies! I’ve contacted the theme author – but her blog hasn’t been updated since June so not sure when she’ll even see my question.

    Any help on what I can do to change the rightcol reference to something that will call a sidebar_right.php would be great.

    Total newbie in this – figured out what I know of context by using photoshop eyedroopper tool on screenshots to get hex codes for colors I want to change and then searched for the hex #s in the php to find right places to make changes.



    Forum Moderator

    there is no second sidebar file

    Open index.php and see what files are being called near the top of the file. Or look at the code in that file before the Loop starts.

    Edit – i can login now so will start my own topic.

    Sorry 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘right sidebar doesn’t show up as option on widget page’ is closed to new replies.