[Wordpress] Can't edit the template for the blog roll

Discussion in 'WordPress' started by bscdesign.com, Aug 20, 2007.

  1. #1
    I am trying to add my template to wordpress but I can't find where to edit the HTML for the Blog Roll, archives and, category list on the side bar. I have done a search for 'blog roll' in every one of the files in wordpress but got no results.

    Can someone tell me how to do this?
     
    bscdesign.com, Aug 20, 2007 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    What exactly are you trying to do?

    to list archives use this call:
    wp_get_archives()

    to list categories:
    wp_list_categories()

    for the blogroll use:
    get_links()

    Go to the WordPress Codex page for more info on these tags.
     
    mizaks, Aug 20, 2007 IP
  3. bscdesign.com

    bscdesign.com Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #3
    I checked out the codex and it still doesn't tell me what files the side bar templates are in. So i can edit the HTMl for how the blog roll, archives, and categories lists look like.

    If you look at my site you will see that those sections of the side bar are screwed up. My site is review-crew.com
     
    bscdesign.com, Aug 20, 2007 IP
  4. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #4
    Search in wp-includes and in the root directory as well (all .php files).
     
    r3born, Aug 21, 2007 IP
  5. bscdesign.com

    bscdesign.com Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #5
    I did this already and none of the files had the words 'blog roll' in them.
     
    bscdesign.com, Aug 21, 2007 IP
  6. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #6
    Did you search for get_links() as suggested?
     
    r3born, Aug 21, 2007 IP
  7. bscdesign.com

    bscdesign.com Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #7
    I found the files that I need to edit. I tried deleting all <ul> and <li> tages but now my bookmarks won't show up at all. The files are in the wp-includes folder and are named bookmark-template.php and category-template.php.
     
    bscdesign.com, Aug 21, 2007 IP
  8. bscdesign.com

    bscdesign.com Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #8
    It's all fixed now. Thanks to everyone for helping.
     
    bscdesign.com, Aug 21, 2007 IP