• In single.php, this looks like the code for separating tags with commas:

    <?php the_tags('', ', ', ''); ?>

    However, it doesn’t seem to be working as my tags are all running up against each other, such as:

    tag1tag2tag3

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    Thread Starter peteratomic

    (@peteratomic)

    Thread Starter peteratomic

    (@peteratomic)

    you can see music and DJ life smushed up against each other… no comma separation like other templates

    Try adding:

    .post-info-tags a {padding:0 2px;}

    to the bottom of your stylesheet.

    you can see music and DJ life smushed up against each other… no comma separation like other templates

    ‘music’ is a category, and ‘DJ life’ is a single tag – so there is no reason to have a comma anywhere.

    look into this post ‘technology-explodes-leaving-us-in-the-dust’, for instance, where the two tags ‘DJ gear’ and ‘DJ life’ are separated by comma.

    you probably need to look back into the code, to see if there is a separation character between <?php the_category(); ?> and <?php the_tags('', ', ', ''); ?>

    Thread Starter peteratomic

    (@peteratomic)

    Thanks Alchymyth! That was the thing staring me in the face that I couldn’t see!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘code isn't working for tag separators’ is closed to new replies.