Created
July 18, 2012 17:00
-
-
Save stuartduff/3137466 to your computer and use it in GitHub Desktop.
Woo FlipFlop categoriies grid on posts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'woo_content_before', 'categories_grid', 10 ); | |
function categories_grid() { | |
if ( is_singular('post') ) { | |
echo '<section id="main" class="fullwidth">'; | |
get_template_part( 'includes/categories-grid' ); | |
echo '</section>'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment