Categories"; foreach ( $categories as $category ) { $output .= 'name ) ) . '">' . $category->cat_name . '' . $separator; } echo trim( $output, $separator ); echo "

"; } } /* * @deprecated 1.19 * Now template part /content/tag-links.php */ function ct_tracks_tags_display() { $tags = get_the_tags(); $separator = ' '; $output = ''; if ( $tags ) { echo "

Tags"; foreach ( $tags as $tag ) { $output .= 'name ) ) . '">' . $tag->name . '' . $separator; } echo trim( $output, $separator ); echo "

"; } } /* * @deprecated 1.19 * Now template part /content/further-reading.php */ function ct_tracks_further_reading() { global $post; // gets the next & previous posts if they exist $previous_blog_post = get_adjacent_post( false, '', true ); $next_blog_post = get_adjacent_post( false, '', false ); if ( get_the_title( $previous_blog_post ) ) { $previous_title = get_the_title( $previous_blog_post ); } else { $previous_title = "The Previous Post"; } if ( get_the_title( $next_blog_post ) ) { $next_title = get_the_title( $next_blog_post ); } else { $next_title = "The Next Post"; } echo ""; } /* * @deprecated 1.30 * Now template part /content/social-icons.php */ function ct_tracks_customizer_social_icons_output() { // array of social media site names $social_sites = ct_tracks_social_site_list(); // any inputs that aren't empty are stored in $active_sites array foreach ( $social_sites as $social_site ) { if ( strlen( get_theme_mod( $social_site ) ) > 0 ) { $active_sites[] = $social_site; } } // for each active social site, add it as a list item if ( ! empty( $active_sites ) ) { echo "