[resolved] How to get rid of the last item in get_links() (2 posts)

  1. Katrina
    Posted 10 years ago #

    i have a place in my site where I put the links I have in blogroll, and what I did is that in each ending, i put a middot, like this: · but can someone tell me how to remove the last middot?

  2. Katrina
    Posted 10 years ago #

    Okay, I figured it out...For those of you who do not know how to do it, here it is:

    <p><span style="display:none;"><?php get_links(1, '&middot;</span> ', '<span class="middot">', ' ', FALSE, 'id', false); ?></span></p>

    you can use the span classifier Middot to make your middot bold, another color, etc...

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.