How to customize wordpress function: the tags?

bonabona

New Member
In my wordpress post I have included tags with using wordpress function\[code\]<?php the_tags( $before, $sep, $after ); ?> \[/code\]My actual Css :\[code\].postclass{ margin:10px 0px 10px 0px; }.posttag{ font-size:10px; float:left; color:#212121; margin-right:15px; padding:5px; border-radius:2px; background:black;}\[/code\]In my template:\[code\]<div class="postclass"> <?php the_tags( '<p class="posttag">', ',', '</p>' ); ?></div>\[/code\]This gives me all tags in same black background .How can I get each tag text with black background each separated by comma?
 
Back
Top