Advertisement
vfontjr

sb_show_tag_name

Mar 15th, 2019
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. function sb_show_tag_name( $content ) {
  2.  
  3.     if( is_singular('post')) {
  4.         $content .= '<div class="tag-box">' . PHP_EOL;
  5.         $content .= do_shortcode( '[post_tags before="Related Tags: " sep=" • " ]' ) . PHP_EOL;
  6.         $content .= '</div>' . PHP_EOL . '<!-- .tag-box-->';
  7.     }
  8.  
  9.     return $content;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement