Jump to content
Sign in to follow this  
nrbeatty

Metabar: Trailing comma

Recommended Posts

nrbeatty

Hi all, I deleted the line of code for the author, but I can't get rid of the trailing comma after the category. Any which way I try to remove the comma, it kills the display of the metabar.

<div class="metabar">
	                                    
	                                    <?php _e('On',TDOMAIN);?> <?php the_time(get_option('date_format')); ?>,
	                                    <?php _e('in',TDOMAIN);?> <?php the_category(',')?>,
	                                    <!-- <?php edit_post_link(__('(Edit Post)', TDOMAIN), ' ', ' ');?> -->
	                                    
	                                </div>[/code]

How do I hide the trailing comma after the category?

Share this post


Link to post
Share on other sites
cmunns

delete the comma that is outside of the php statement the last thing here : `<?php _e('in',TDOMAIN);?> <?php the_category(',')?>,`

Share this post


Link to post
Share on other sites
nrbeatty

RESOLVED Success! I was messing around with the other comma ',' in several ways, but never got it. It was the last comma. Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×