ap_tag_details()
Description #
Display tag details.
Source #
File: includes/taxo.php
function ap_tag_details() { $var = get_query_var( 'question_tag' ); $tag = get_term_by( 'slug', $var, 'question_tag' ); echo '<div class="clearfix">'; echo '<h3><a href="' . esc_url( get_tag_link( $tag ) ) . '">' . esc_html( $tag->name ) . '</a></h3>'; echo '<div class="ap-taxo-meta">'; echo '<span class="count">' . (int) $tag->count . ' ' . esc_attr__( 'Questions', 'anspress-question-answer' ) . '</span>'; echo '<a class="aicon-rss feed-link" href="' . esc_url( get_term_feed_link( $tag->term_id, 'question_tag' ) ) . '" title="Subscribe to ' . esc_attr( $tag->name ) . '" rel="nofollow"></a>'; echo '</div>'; echo '</div>'; echo '<p class="desc clearfix">' . wp_kses_post( $tag->description ) . '</p>'; }
Expand full source code Collapse full source code View on GitHub: includes/taxo.php:394
Add your comment