WordPress.org

Ready to get started?Download WordPress

Forums

Elbee Elgee
Removing the Pages, Archives, Categories, and Meta Sections in Sidebar (7 posts)

  1. BluRoze
    Member
    Posted 2 years ago #

    I'm loving this theme, by the way :)

    How do you remove the Page, Archives, Categories, and Meta sections from my wordpress pages? I deleted sidebar.php or whatever it was called completely, but they are still showing up.

    I have the theme set up to 1-column, fixed width, with ng.css . I'm sure there's an easy fix for this, but I can't find it.

    http://wordpress.org/extend/themes/elbee-elgee/

  2. Doug
    Member
    Theme Author

    Posted 2 years ago #

    BluRoze:
    Those are output by default when no widgets are assigned to the Primary and Secondary sidebars. There's no hardcoded way to delete them in an upgrade-friendly fashion, but you could do the following:

    1. Download this child theme:
      https://bitbucket.org/zamoose/elbee-elgee/downloads/elbee-child-1.1.zip
    2. Unzip it into your wp-content/themes directory
    3. Activate the child theme.
    4. Create a file called sidebar.php in wp-content/themes/elbee-child/
    5. Add this to the top of that file: <?php
    6. Save the file.

    This should make the sidebar default to outputting nothing, nada, zilch.

  3. BluRoze
    Member
    Posted 2 years ago #

    Thank you for your quick reply! It worked, but it also got rid of the copyright and credits footers, which I needed. I found a solution, though, because of your answer.

    Here's the solution, in case anyone needs it in the future:

    Simply take everything out of the orignial sidebar.php file, except for these last lines:

    <?php
    global $lblg_options;
    lblg_sidebar_header();
    ?>
    <?php
    lblg_sidebar_footer();
    ?>

    That will get rid of all sidebars and meta links, but will leave the copyright info and credits in place.

  4. Doug
    Member
    Theme Author

    Posted 2 years ago #

    BluRoze:
    Hmmm, that makes zero sense. The credits are output in footer.php, NOT sidebar.php.

    Do you have a live site that I could take a look at to see what you're referring to?

  5. sbader
    Member
    Posted 2 years ago #

    I like the theme but don't want to use it as a blog....

    How do I have more pages look like the "HOME" page? I want the widgets on the pages even though I would like to have a more static pages or only one post.

    Other template options allow "Topics" without widgets. I would like choice of either a "Topics" with widgets or without.

  6. sbader
    Member
    Posted 2 years ago #

    I am just starting designing with Elbee-Elgee and have a quick question. One new page has an under construction sentence with a search box.

    How do I remove that information? I tried editing with fonts and inserting a picture. The editing is saved but not shown on the page.

    Any ideas? Thanks!

  7. Doug
    Member
    Theme Author

    Posted 2 years ago #

    sbader:
    Not sure I follow. The page.php template isn't really any different than the main index.php template.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic