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">
- <div class="grid_11" style="margin:8px 12px 12px 20px;" >
- <h1 class="section" style="font-weight:bold"> <?php echo get_the_title( $post->post_parent ); ?></h1>
- <?php if (have_posts()) : while (have_posts()) : the_post() ; ?>
- <h2 class="section" style="font-weight:bold"><?php the_title(); ?></h2>
- <?php the_content(); ?>
- <?php endwhile; endif; ?>
- </div><!-- grid 11 -->
- <div class='clear'> </div>
- </div><!-- container -->
- </div><!-- wrapper -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement