• <?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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jasoncrews

    (@jasoncrews)

    maybe I should post this in a different forum.

    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="https://boren.nu/">Ryan</a></li>
    <li><a href="https://dougal.gunters.org/">Dougal</a></li>
    <li><a href="https://inphotos.org/">Donncha</a></li>
    <li><a href="https://photomatt.net/">Matt</a></li>
    <li><a href="https://www.alexking.org/">Alex</a></li>
    <li><a href="https://zed1.com/journalized/">Mike</a></li>
    <li><a href="https://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> ?

    Thread Starter jasoncrews

    (@jasoncrews)

    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.

    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;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp_list_bookmarks()’ is closed to new replies.