WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar: How Do I Add to It??? (13 posts)

  1. CJField
    Member
    Posted 9 years ago #

    I installed a new theme and no matter what I try, I cannot correctly add to it. For instance, I want to add an "About Me" section and I can't figure out how to do that.

    Anyone want to lead the way?

  2. t3
    Member
    Posted 9 years ago #

    To add a new section,or category you'd add this coding into your sidebar template.

    <h2><?php _e('Category'); ?></h2>

  3. t3
    Member
    Posted 9 years ago #

    and if im getting what you want to do right, youd fill in categories with "about me" and fill in your information after it.

    im not really the authority on this, as im not fluent in php,but, this is how I would go about doing this. Any one want to add to it?

  4. Marc
    Member
    Posted 9 years ago #

    It would help if you named the theme you are useing and a link to your site.

    Many themes use a slightly different way to call up and style the sidebar function.

  5. CJField
    Member
    Posted 9 years ago #

    The theme name is postcards from the edge. The blog address is http://www.mouthymom.com

  6. CJField
    Member
    Posted 9 years ago #

    Ok, but mine doesn't look like that and when I try to copy and paste a section and manipulate it to what I want it to be, it screws up the entire sidebar. This is the coding in mine:

    <ul>
    <!-- ADMIN CONSOLE --><br />
    <li id="meta"><?php _e('Admin:'); ?>

    <ul>
    <?php wp_register(); ?>

    <li><?php wp_loginout(); ?></li>
    </ul>
    <!-- YOUR LINKS --><br />
    <?php get_links_list(); ?>

    <!-- POSTS BY CATEGORY --><br />
    <li id="categories"><?php _e('Categories:'); ?>

    <ul>
    <?php wp_list_cats(); ?>
    </ul>
    </li>

    How do I add sections to this? I know html, but not php and I'm assuming this is php based.

  7. CJField
    Member
    Posted 9 years ago #

    Anybody? Buehler???

  8. ColdForged
    Member
    Posted 9 years ago #

    What are you trying to add? You mentioned an "About Me" section. Given the code above, you'd do something like the following:

    <li id="about">About Me
    <ul>
    <li>I'm a Pisces, I like chicken and walnuts, and I support new tariffs on lima beans</li>
    </ul>
    </li>

    <!-- ADMIN CONSOLE -->
    <li id="meta"><?php _e('Admin:'); ?>

    * <?php wp_register(); ?> <?php wp_loginout(); ?>

    <!-- YOUR LINKS -->
    <?php get_links_list(); ?>

    <!-- POSTS BY CATEGORY -->
    <li id="categories"><?php _e('Categories:'); ?>

    <?php wp_list_cats(); ?>

  9. CJField
    Member
    Posted 9 years ago #

    That doesn't work. It makes the About Me black and tiny while the other letters are orange and big, like the black and tiny ones should be.

    See: http://www.mouthymom.com

  10. ColdForged
    Member
    Posted 9 years ago #

    Looks fine to me, actually.

  11. Lorelle
    Member
    Posted 9 years ago #

    CJField, there is a step-by-step article on customizing your sidebar at http://codex.wordpress.org/Customizing_Your_Sidebar.

    You've been show a few ways to add information to your sidebar, but you also have to "style" the information you add. For instance, in the above example, in your style.css file of your Theme, you might want to add a style like this:

    li#about {color:white; font-size: 95%; padding: 2px 5px.....}
    #about ul {color: green; font-size:90%; padding:0px.....}

    Whatever you want it to look like.

  12. Jinsan
    Member
    Posted 9 years ago #

    looks fine to me too, gonan check in IE. Looks fine in IE too, I guess you fixed it?

    Two other things:

    1) in Firefox the background to content did not display, the white for the content, and the orange/peach for the sidebar.

    2) that is one powerful background, might try something more subtle as it's quite overwhelming. That's a personal thing tho:)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags