SHARE
TWEET

sb_show_tag_name

vfontjr Mar 15th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top