Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- get_header();
- // Show Food post type if it is MENU or BAR
- if (is_category( array('11', '12') ) || $isChild == 1 ) {
- query_posts($query_string . '&post_type=food&posts_per_page=-1');
- }
- ?>
- <div id="left_column">
- <?php get_sidebar('menu'); ?>
- </div>
- <div id="container">
- <div id="content" role="main">
- <h2 <?php if (is_category( array('11', '12', '18') ) || $isChild == 1 ) { echo ('class="menu_title"'); } ?> ><?php printf( __( '%s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h2>
- <?php
- if (is_category( array('11', '12') ) || $isChild == 1 ) {
- get_template_part( 'loop', 'menu' );
- } elseif (is_category( '18') ) {
- get_template_part( 'loop', 'master' );
- } else {
- get_template_part( 'loop', 'category' );
- }
- ?>
- </div><!-- #content -->
- </div><!-- #container -->
- <div class="clear"></div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement