WP categories/blogroll help

Discussion in 'WordPress' started by Katy, Mar 5, 2007.

  1. #1
    I'm trying to integrate my layout into wordpress and I ran into a big problem. When I edit my sidebar template I want my links to look like this:
    <div class="nav">
    
    <h2>Categories</h2>
    
    <ul class="nav">
    
    <li><a href="#">Uncategorized</a></li>
    </div>
    HTML:
    But I've no idea what to do with this
    <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
    
    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php wp_list_bookmarks(); ?>
    PHP:
    I only added the <div> tags and when I viewed my page's source it showed:
    <div class="nav">
    
    <li class="categories"><h2>Categories</h2><ul>    <li><a href="http://rock-kitty.net/wordpress/?cat=1" title="View all posts filed under Uncategorized">Uncategorized</a> (3)
    
    </li>
    </ul></li>
    <li id="linkcat-2" class="linkcat"><h2>Blogroll</h2>
        <ul>
    <li><a href="http://www.alexking.org/">Alex</a></li>
    <li><a href="http://inphotos.org/">Donncha</a></li>
    <li><a href="http://dougal.gunters.org/">Dougal</a></li>
    <li><a href="http://photomatt.net/">Matt</a></li>
    <li><a href="http://zengun.org/weblog/">Michel</a></li>
    <li><a href="http://zed1.com/journalized/">Mike</a></li>
    
    <li><a href="http://boren.nu/">Ryan</a></li>
    
        </ul>
    </li>
    
    </div>
    HTML:
    So, my question is, how can I edit that? And where can I find those "categories" and "bookmarks" files?



    If anyone can help me, please reply ASAP!
    Thanks!!!
     
    Katy, Mar 5, 2007 IP
  2. Anita

    Anita Peon

    Messages:
    1,142
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi Katy,

    You can add links and link categories via your wp-admin (administration) screen. Just login, click on Links along the top, then click Manage Links to add/remove links, or Link Categories to add new categories.

    Hope this helps, let me know if you were asking something different.
     
    Anita, Mar 8, 2007 IP
  3. propstm

    propstm Peon

    Messages:
    286
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Anita has you pretty much set.
    Basically the sidebar.php file is just a file that sets up where and how the content will be displayed. Edit the sidebar.php file if you need to change formatting. Then to change your content (links) go under blogroll or categories in your wp-admin.
     
    propstm, Mar 8, 2007 IP