Support » Themes and Templates » Sidebar: How Do I Add to It???

  • 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?

Viewing 12 replies - 1 through 12 (of 12 total)
  • To add a new section,or category you’d add this coding into your sidebar template.

    <h2><?php _e(‘Category’); ?></h2>

    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?

    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.

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

    Moderator James Huff

    (@macmanx)

    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.

    Anybody? Buehler???

    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(); ?>

    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

    Looks fine to me, actually.

    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.

    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:)

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Sidebar: How Do I Add to It???’ is closed to new replies.