• Okay, so I have my links list set up, and I’d like it to display as
    link – link – link
    so I decided to use the ‘after’ part of the get_links tag to put the – in, but since it’s after, it leaves a trailing hyphen (link – link – link – ) at the end of the list of course. is there a way to get the hyphen in between the links instead of before or after?
    My current tag:
    <?php get_links(3,'',' - ','',false,'rand',false,false,-1,false); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter thefaded

    (@thefaded)

    no?

    I don’t know about the get_links tag, but using CSS, it would be very tricky indeed – if at all possible – to get the effect you want as you are effectively asking the styling to be able to determine the start / finish of dynamic content and to act differently for the first and/or last tags.

    Thread Starter thefaded

    (@thefaded)

    bah. oh well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trailing Dash’ is closed to new replies.