Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //categories
- if(! function_exists('appmax_categories')) :
- function appmax_categories() {
- $categories_list = get_the_category_list( esc_html__( ', ', 'appmax' ) );
- if ( $categories_list ) {
- /* translators: 1: list of categories. */
- printf( '<span class="cat-links">' . esc_html__( '%1$s', 'appmax' ) . '</span>', $categories_list ); // WPCS: XSS OK.
- }
- }
- endif;
- //tags
- if(! function_exists('appmax_tags')) :
- function appmax_tags() {
- /* translators: used between list items, there is a space after the comma */
- $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'appmax' ) );
- if ( $tags_list ) {
- /* translators: 1: list of tags. */
- printf( '<span class="tags-links">' . esc_html__( '%1$s', 'appmax' ) . '</span>', $tags_list ); // WPCS: XSS OK.
- }
- }
- endif;
Add Comment
Please, Sign In to add comment