WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to get rid of the last item in get_links()

[Resolved] How to get rid of the last item in get_links()

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

Viewing 1 replies (of 1 total)
  • 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…

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to get rid of the last item in get_links()’ is closed to new replies.
Skip to toolbar