Wordpress> Want to remove "," between tags, Codes inside

hello all,

I working on a wordpress theme, my problem is

TAGS are getting separated by commas. like

tagone, tagtwo, so on

Just like you see in every theme for categories and tags

But i want to remove it ( check how i stylize categories in my blog www.vivsin.com ) to style my tags differently.

I cant find a solution.

For categories i did this ( red text ):

		<div class="filedcat">

			Filed Under : <?php the_category(' [COLOR="Red"]I removed a comma from here[/COLOR] ') ?>


		<div class="postdata">

		<?php the_content(__('Read more'));?>


		<div class="postmeta">

			<p>Tags: <?php the_tags(' [COLOR="Red"]I dont have a comma here by default, what to do?[/COLOR] ') ?> </p>


Also how to assign a different class to “READ MORE” text???

Try this:

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

That should produce all tags with no before, no seperator. This has not been tested by me. More info: http://codex.wordpress.org/Template_Tags/the_tags

Or if you want it to say Tags: tag tag tag… before it you could do this:

<p><?php the_tags('Tags: ',' '); ?></p>

Hope it helps. :slight_smile:


Also how to assign a different class to “READ MORE” text???

<?php the_content('<span class="moretext">READ MORE</span>'); ?>

More info: http://codex.wordpress.org/Customizing_the_Read_More#Designing_the_More_Tag

Problem solved BIG THANK to BPartch

Glad to be of assistance. :slight_smile: