Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use get_stylesheet() instead of get_template() to check if 'hybrid' i…

…s the current theme.

git-svn-id: http://svn.locallylost.com/themes/hybrid/trunk@598 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
commit 368bb80a547483dc0dc43fb2328fb2d5a98519f9 1 parent dcece5c
greenshady authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  functions.php
View
2  functions.php
@@ -66,7 +66,7 @@ function hybrid_theme_setup_theme() {
add_theme_support( 'post-stylesheets' );
/* Only add cleaner gallery support if not using child theme. Eventually, all child themes should support this. */
- if ( 'hybrid' == get_template() )
+ if ( 'hybrid' == get_stylesheet() )
add_theme_support( 'cleaner-gallery' );
/* Add support for WordPress features. */
Please sign in to comment.
Something went wrong with that request. Please try again.