WordPress.org

Ready to get started?Download WordPress

Forums

[closed] make it so wp_list_pages link_before is not part of hyperlink (1 post)

  1. unvolve
    Blocked
    Posted 1 year ago #

    my code

    <?php wp_list_pages('title_li=&depth=1&link_before=<div id="space">|</div>'); ?>

    The above code displays my links exactly how I want. Nothing wrong with the physical aspect what so ever.

    However, I do not want

    <div id="space"|</div>

    to be a part of the hyper link. Right now when I hover a link the grep also shows the hover state. I can also click on the grep and it acts just like part of the hyperlink.

    i don't want that. I want the grep (|) to simply be a piece of text between each link.

    How could I do this?

    [closed - continue with http://wordpress.org/support/topic/link-before-outside-tags?replies=3 ]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.