Advertisement
fahimmurshed

Astra Category Seprator

Jul 9th, 2020
1,279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. add_filter('astra_post_categories', 'tags_seperator');
  2. function tags_seperator(){
  3.     $output = '';
  4.     $categories_list = get_the_category_list( __( ' * ', 'astra' ) );
  5.     if ( $categories_list ) {
  6.         $output .= '<span class="cat-links">' . $categories_list . '</span>';
  7.     }
  8.     return $output;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement