Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_the_tags() {
- $buffy = '';
- $td_post_tags = get_the_tags($this->post->ID);
- if ($td_post_tags) {
- $buffy .= '<ul class="td-tags td-post-small-box clearfix">';
- $buffy .= '<li><span>' . __td('TAGS') . '</span></li>';
- foreach ($td_post_tags as $tag) {
- $buffy .= '<li><a href="' . get_tag_link($tag->term_id) . '">' . $tag->name . '</a></li>';
- }
- $buffy .= '</ul>';
- }
- return $buffy;
- }
Advertisement
Add Comment
Please, Sign In to add comment