• fUzZy89

    (@fuzzy89)


    Hi. I am trying to remove the text “Blogroll” above the links. In sidebar the code is:

    
    <h3>Lenker</h3>
    <?php get_links_list(); ?>
    

    When I view the source I see:

    
    
    <li>
    	<h3>Lenker</h3>
    	<li id="linkcat-2" class="linkcat"><h2>Blogroll</h2>
    
    <ul>
    <li>link</li>
    <li>link</li>
    <li>link</li>
    </ul>
    </li>
    

    So… <?php get_links_list(); ?> generates a h2. I want to hide that h2 or edit it to h3. How do I do that? I have been looking trough the WP settings, but with no luck ??

Viewing 2 replies - 16 through 17 (of 17 total)
  • mafajones – thank you v much – solved a problem I had too.

    All – I couldn’t follow the php babble in the codex either, and agree that Otto42 was not particularly helpful.

    However, I did manage to figure out a workaround:

    1. Go to Blogroll > Add Link.
    2. Add a new category. Name it as whatever you want to appear in the sidebar, eg Feeds I read.
    3. Go to Manage Blogroll.
    4. Edit the category for each link and change to your new category.
    5. Use the standard wp_list_bookmarks code in your sidebar (<code><?php wp_list_bookmarks('title_after=&title_before='); ?>)

    Enjoy!

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘How to remove “blogroll” text above blogrolllist.’ is closed to new replies.