Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Re: Issue #81 replaces is_single() with is_singular('post')
  • Loading branch information
chipbennett committed Sep 1, 2012
1 parent 439c6ca commit 2f32a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/wordpress-hooks.php
Expand Up @@ -252,7 +252,7 @@ function oenology_show_current_cat_on_single($output) {

global $post;

if( is_single() ) {
if( is_singular( 'post' ) ) {

$categories = wp_get_post_categories( $post->ID );

Expand Down

0 comments on commit 2f32a9e

Please sign in to comment.