Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 796 Bytes
<?php ob_start();
/* Template name: WAW form */
get_header();
if ( have_posts() ) {
while ( have_posts() ) : the_post();
// parent page
$parent_slug = $wp_query->query_vars['pagename'];
$parent_tit = get_the_title();
?>
<div id="<?php echo $parent_slug ?>" class="container-full">
<div class="container">
<?php get_template_part( 'nav', 'waw' ); ?>
<header class="row">
<div class="col-md-10 col-sm-10">
<h1 class="parent-tit"><?php echo $parent_tit; ?></h1>
</div>
</header>
<section class="row page-desc">
<div class="col-md-8 col-sm-8">
<?php the_content();
globalrec_insert_wpg();
?>
</div>
</section><!-- #<?php echo $parent_slug; ?> -->
</div><!-- .container -->
</div><!-- .container-full -->
<?php endwhile;
} // end if posts
?>
<?php get_footer(); ?>