how to get event-tags in code array?
-
greetings
in this part of code, my theme takes the normal tags to use them after in single page view with the function get_the_tags()my question, my request for help, is how can i change it to takes AND the event-tags?
thank you for your time and for your support!
function get_the_tags() { if (!$this->is_single) { return; } if (td_util::get_option('tds_show_tags') == 'hide') { return; } $buffy = ''; $td_post_tags = get_the_tags(); 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; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to get event-tags in code array?’ is closed to new replies.