WordPress.org

Ready to get started?Download WordPress

Forums

Problem with wp_list_bookmarks (2 posts)

  1. gnorro
    Member
    Posted 6 years ago #

    Hi
    I have a template with get_links
    I want to replace it with <?php wp_list_bookmarks(); ?>

    I have 3 categories with some link each one.
    This is what I want to display:

    <h2>Blogroll</h2>
    	<ul class="links">
    
    <li><a href="http://wordpress.org/extend/plugins/">Plugins</a></li>
    <li><a href="http://wordpress.org/support/">Support Forum</a></li>
    <li><a href="http://wordpress.org/extend/themes/">Themes</a></li>
    <li><a href="http://planet.wordpress.org/">WordPress Planet</a></li>
    <h2>Link</h2>
    	<ul class="links">
    
    <li><a href="http://www.sit.it">Site</a></li>
    <h2>Software</h2>
    	<ul class="links">
    
    <li><a href="http://site.org/" title="Link1">Link1</a></li>
    <li><a href="http://site.org/" title="Link2">Link2</a></li>
    wp_list_bookmarks() displays:
    
    <li id="linkcat-2" class="linkcat"><h2>Blogroll</h2>
    
    <ul>
    <li><a href="http://wordpress.org/extend/plugins/">Plugins</a></li>
    <li><a href="http://wordpress.org/support/">Support Forum</a></li>
    <li><a href="http://wordpress.org/extend/themes/">Themes</a></li>
    <li><a href="http://planet.wordpress.org/">WordPress Planet</a></li>
    </ul>
    <li id="linkcat-26" class="linkcat"><h2>Link</h2>
    
    <ul>
    <li><a href="http://www.site.it">Site</a></li>
    </ul>
    <li id="linkcat-30" class="linkcat"><h2>Software</h2>
    
    <ul>
    <li><a href="http://site.org/" title="Link1">Link1</a></li>
    <li><a href="http://www.site.com/" title="Link2">Link2</a></li>
    </ul>

    How can I do it?
    thanks

  2. gnorro
    Member
    Posted 6 years ago #

    up thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.