Skip to content

Commit

Permalink
Re: Issue #64 fixes category feed link in loop header
Browse files Browse the repository at this point in the history
  • Loading branch information
chipbennett committed Apr 13, 2012
1 parent 8973334 commit a711174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/hooks.php
Expand Up @@ -411,7 +411,7 @@ function oenology_hook_loop_header() {
$tax = ( is_category() ? 'category' : 'tag' );
$taxtitle = ( is_category() ? single_cat_title( '', false ) : single_tag_title( '', false ) );
global $wp_query;
$taxfeedlink = ( is_category() ? get_category_feed_link( $wp_query->get( 'cat_id' ) ) : get_tag_feed_link( $wp_query->get( 'tag_id' ) ) );
$taxfeedlink = ( is_category() ? get_category_feed_link( $wp_query->get( 'cat' ) ) : get_tag_feed_link( $wp_query->get( 'tag_id' ) ) );
$catdescription = ( ( is_category() && category_description() ) ? category_description() : false );
$tagdescription = ( ( is_tag() && tag_description() ) ? tag_description() : false );
$taxdesc = ( is_category() ? $catdescription : $tagdescription );
Expand Down

0 comments on commit a711174

Please sign in to comment.