Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $termstring = '';
- $termlist = get_the_category();
- if($termlist) {
- $termlist = array_values($termlist);
- $termlist = $termlist[0];
- $termstring = '<div class="video-category">' . $termlist->name . '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement