how to override get_the_tags core func in theme func and add spans to it
-
Hi
With the_tag(), i want to add a <span></span> in front and after EACH tag of the tag list for styling like this :– eg: for tag1 and tag2
<span class="tag_open"></span> <span class="tag">tag1_name </span> <span class="tag_close"></span> <span class="tag_open"></span> <span class="tag">tag2_name </span> <span class="tag_close"></span>
I thought about using the :before and :after css but ie6 dont support. So how do i override the function? or how to write a custom foreach loop function to list the tags of the post?
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to override get_the_tags core func in theme func and add spans to it’ is closed to new replies.