I often like to style my category and/or tag list differently then just a comma separated list (see the bottom of this post for an example). I’ve always done a bit of hacking using the_tags or the_category, which is okay… but not the fast, simple, and Genesis (affiliate link) way.
The Genesis Way
Enter Genesis Shortcodes.
There is simple code already available on customizing the meta. Below is a gist from Brian Gardner:
Notice the “post_categories” & “post_tags” shortcodes in there? Genesis does all of the dirty work for us here. Now, go back to the shortcode reference I linked to earlier. Those shortcodes have all sorts of attributes available in them.
Remove The Comma
Removing the comma is as simple as using the “sep” attribute. Sep is short for “separator”, naturally.
Here is the code, which removes the separator from the categories and the tags.
I know, I know… seems too easy right? Glad I could help 😉


