Day 26 Dev Notes
This was my first attempt at creating a template tag that loops through the categories for a post and returns HTML output. I need to avoid this getting too confusing, but for now you specific if you want the outer tag to be a <ul>
, <div>
, or a <span>
. You can also specify additional classes that get added to the link, which was already in place from the post_category_link
tag.
Pretty happy where this code ended up, but I expect it will change a bit before I'm completely satisfied with it.