Categories::category_feed()
Description #
Category feed link in head.
Source #
File: addons/categories/categories.php
public function category_feed() { if ( is_question_category() ) { $question_category = get_queried_object(); echo '<link href="' . esc_url( home_url( 'feed' ) ) . '?post_type=question&question_category=' . esc_attr( $question_category->slug ) . '" title="' . esc_attr__( 'Question category feed', 'anspress-question-answer' ) . '" type="application/rss+xml" rel="alternate">'; } }
Expand full source code Collapse full source code View on GitHub: addons/categories/categories.php:864
Add your comment