Editing HTML of PHP function with Wordpress?

Discussion in 'WordPress' started by dcristo, Feb 28, 2009.

  1. #1
    I am displaying blogroll links in the sidebar of a wordpress blog with this code:

    <?php wp_list_bookmarks(); ?>
    Code (markup):
    How do I go about editing the HTML because I want to change the text Blogroll to something else?
     
    dcristo, Feb 28, 2009 IP
  2. j0563

    j0563 Guest

    Messages:
    153
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just remove that line and insert whatever you want instead. If you think you may use it later, just comment that line out:

    <?php // wp_list_bookmarks(); ?>
    Code (markup):
     
    j0563, Feb 28, 2009 IP
  3. dickieknee

    dickieknee Active Member

    Messages:
    441
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #3
    insert a text widget and use a unordered list....

    to change the name just insert a name into the title, it sounds like your theme may not be widget ready
     
    dickieknee, Feb 28, 2009 IP
  4. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #4
    if u r using widget there will be option for changing title easily if not then edit ur sidebar.php file in wp theme editor.
     
    Jalpari, Feb 28, 2009 IP