Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2189

    Hi there.

    I have spent some time with the Habitat theme and have a pretty good feel for it so. I really like it, yet I’m having trouble with one area.

    How do I remove/modify the “columns” information at the bottom of the pages that say. “Archive, Categories, Pages and Features”.

    At the very least, remove the “Features” column (that says “Absolutely Striking Design, Multiple Colour Options etc” since it seems to be a hangover from the Habitat Theme advertising on the test page in Themeforest.net’s website.

    Thanks very much.

    Ian

    #37034

    You can disable this by going to Habitat Options in the Admin Panel and selecting Sidebar & Footer. Find the option called Display ‘dummy’ sidebars widgets and change it from yes to no

    #37035

    Thanks for your reply. I already tried that and it didn’t seem to work. Any other suggestions?

    #37036

    I figured it out. Leaving the Footer Column 1, 2, 3, 4 areas empty in the Widget area of Admin will still show the dummy columns even if you uncheck the Dummy Widgets box in Habitat Options.

    I was able to get them to disappear by dragging four “Text” text Widgets into the Footer1, 2, 3, 4 areas and leaving the text area blank (and then clicking “save”).

    This seems to be a work around yet I’m curious if it is the only solution.

    #37037

    Hey,

    I’m glad you got this figured out with a workaround – the other way to do it is to open up widgets.php, find and remove this code:

    function dummy_widget($number)
    {
    switch($number)
    {
    case 1:
    echo "<div class='widget widget_archive'>";
    echo "<h3 class='widgettitle'>Archive</h3>";
    echo "<ul>";
    wp_get_archives('type=monthly');
    echo "</ul>";
    echo "</div>";
    break;

    case 2:
    echo "<div class='widget widget_archive'>";
    echo "<h3 class='widgettitle'>Categories</h3>";
    echo "<ul>";
    wp_list_cats('sort_column=name&optioncount=0&hierarchical=0');
    echo "</ul>";
    echo "</div>";
    break;

    case 3:
    echo "<div class='widget widget_pages'>";
    echo "<h3 class='widgettitle'>Pages</h3>";
    echo "<ul>";
    wp_list_pages('title_li=&depth=-1' );
    echo "</ul>";
    echo "</div>";
    break;

    case 5:
    echo "<h3 class='widgettitle'>Latest News</h3>";
    $sbNews = new Kriesi_sidebar_news_Widget();
    $sbNews->widget(array(),'');
    break;

    case 4:
    echo '<div class="widget community_news"><h3 class="widgettitle">Features</h3>
    <div class="entry box_entry">
    <p><strong>Absolutley Striking Designs</strong><br/>Lorem ipsum dolor sit amet, usmod tempor incididunt ut labore et dolore magna aliqua.</p>
    </div>

    <div class="entry box_entry">
    <p><strong>Multiple color options</strong><br/>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
    </div>

    <div class="entry box_entry">
    <p><strong>Unique Features</strong><br/>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor. Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
    </div>

    <!--end box-->
    </div>';
    break;
    }
    }

    Next, open up footer.php and change this code:

    else : dummy_widget($columns); endif; // dummy widgets defined at the bottom of widgets.php

    to this:

    endif;

    James

    #37038

    Thanks James. I’m going to try that to see what happens. On a side note, I’m really curious about digging into this theme and tweaking it but I dont know HTML or CSS. What kind of time investment would it be to learn either or both of these skills in order to have more control over WordPress customization? Should I learn both? Any resources you would suggest?

    Thanks.

    #37039

    HTML/CSS are two very important parts of WP theming, but you also should have a fairly good understanding of PHP which is the server-side language that powers the backend. Here a good source for WP design information. They have an excellent book, albeit a little pricey.

    http://digwp.com/

    #37040

    Thanks for the digwp.com link. It looks like a god resource. So is it an all or nothing learning process? As, in do I need to learn, xhtml, css AND php? Thanks for your suggestions.

    Back to the topic of this thread. I deleted the code in the footer and widget php files as you sugested, though I think I’ve found a bug in either the Habitat theme or WP in general.

    When I add ANY widgets to the footer sections (and then remove them), their content stays on the respective web page instead of disappearing like it should. It doesn’t matter if it’s the dummy text included in the theme or any widget I add myself. The only way around it is to do what I did above, which is drag everything out of the footer areas and then drag blank text widgets in.

    #37041

    GREAT! I had the same issue and James Morrison provided me with the solution. Only a small design-technical issue remains: Now there are 2 fine horizontal lines at the bottom. i reckon they are placeholders for the footer widgets? How can i make them invisible?

    #37042

    Hey,

    do you have a link for us? So I know exactly what you’re referring to.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Bottom column confusion’ is closed to new replies.