WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_bookmarks() (5 posts)

  1. jasoncrews
    Member
    Posted 6 years ago #

    <?php wp_list_bookmarks('categorize=1&category=4&between=:&title_before=<h3>&title_after=</h3>Useful calculators.
    &title_li&show_description=1&orderby=url'); ?>

    seems to have a preceding <li> that is driving me crazy. I can't seem to get rid of it, and it doesn't look good on my template. Does anyone know how to remove it?

  2. jasoncrews
    Member
    Posted 6 years ago #

    maybe I should post this in a different forum.

  3. whooami
    Member
    Posted 6 years ago #

    I tested that and for me, it outputs this:

    <li id="linkcat-2" class="linkcat">
    <h3>Blogroll</h3>Useful calculators.</h3>
    
    	<ul>
    <li><a href="http://boren.nu/">Ryan</a></li>
    <li><a href="http://dougal.gunters.org/">Dougal</a></li>
    <li><a href="http://inphotos.org/">Donncha</a></li>
    <li><a href="http://photomatt.net/">Matt</a></li>
    <li><a href="http://www.alexking.org/">Alex</a></li>
    <li><a href="http://zed1.com/journalized/">Mike</a></li>
    <li><a href="http://zengun.org/weblog/">Michel</a></li>
    
    	</ul>
    </li>

    which is semantically correct.

    what are you trying to remove, do you NOT have a corresponding closing </li> ?

  4. jasoncrews
    Member
    Posted 6 years ago #

    It's not the closing </li> Is the <li> befor the title that puts a bullet on the page that I don't like.

    So if I could git rid of that <li> I wouldn't have the bullet befor the title.

    I suppose i could git rid of it using css, but I really don't know much about css.

  5. Darran
    Member
    Posted 6 years ago #

    If you do not want a bullet, you can always use the following code for the particular LI. I am just assuming the structure, so edit it to your site's requirements.

    sidebar.ul li {
    list-style-type: none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.