Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * theme name: custom3
- */
- get_header(); ?>
- <div id="navcontainer">
- <?php get_template_part( 'menu', 'primary' ); // Loads the menu-primary.php template. ?>
- </div><!-- navcontainer -->
- </div><!-- navbar -->
- <div class="wrapper" >
- <div class="container container_11" >
- <!-- sidebar -->
- <div class="grid_4 left_nav" style="margin-top:20px;" >
- <?php if (have_posts()) :
- while (have_posts()) : the_post() ;
- if (in_category(array('4', '5', '6', '7', '8', '9', '10')) ) {
- get_sidebar('classes');
- }
- endwhile;
- endif; ?>
- </div><!-- grid 4 -->
- <div class="grid_7 pull_65 main" style="margin-top:12px; margin-bottom:30px;" >
- <?php if (have_posts()) : while (have_posts()) : the_post() ; ?>
- <h2 class="section">
- <?php $category = get_the_category();
- echo convert_chars($category[0]->cat_name);
- ?>
- </h2>
- <h1 style="font-weight:bold; margin-top:6px;"><?php the_title(); ?></h1>
- <p ><?php the_content(); ?></p>
- <?php echo get_the_post_thumbnail($page->ID, 'medium' ); ?>
- <?php endwhile; endif; ?>
- </div><!-- grid 7 -->
- <div class='clear'> </div>
- </div><!-- container -->
- </div><!-- wrapper -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement