Function:
if (!function_exists('typo_posted_footer')) :
function typo_posted_footer() {
$tag = get_the_tag_list('', __(', ', 'typo-o-graphy'));
$categories = get_the_category_list(__(', ', 'typo-o-graphy'));
if ($tag) {
printf(__('<li> %1$s </li>', 'typo-o-graphy'), $categories, $tag);
}
elseif($categories) {
printf(__('<p>Categories: %1$s </p>', 'typo-o-graphy'), $categories);
}
}
endif;
I’m trying to use this:
<ul>
<?php typo_posted_footer(); ?>
</ul>
To:
- Get
- A
- List
- Like
- This
Instead I’m getting the categories listed out with commas… Follow link look at bottom of the page to see the categories comma separated. Want to <ul><li> each one out.
http://test.madadmedia.com/jon-r-gergeceff/
Help would be greatly appreciated! Thanks! I know it says something about the tag function but I don’t care about tags. Only category.