Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Modifying the topic tag list

Thank you for answering! I’ve been trying to do exactly that, but there are no ids in style.css called #yourtaglist, #otherstaglist etc. Although, I’m not sure I need to edit those ids anyway, since I don’t wanna have the tags in a list.

For now I have modified the code and edited out the ul and li-tags to make it look like this:

<?php if ( $user_tags ) : ?>
<div id="yourtags">
<?php _e('Your tags:'); ?>
<?php foreach ( $user_tags as $tag ) : ?>
<a href="<?php tag_link(); ?>" rel="tag"><?php tag_name(); ?></a> <?php tag_remove_link(); ?>
<?php endforeach; ?>
</div>
<?php endif; ?>

It works pretty well, but the tags aren’t separated by anything. Is there any way to insert commas between the tags, but not after the last tag?

Skip to toolbar