Beispiel #1
0
get_header();
btc_breadcrumbs();
$current_post = $post;
?>

				<div id="two-columns">
					<div id="content">

		<?php 
// Start the loop.
while (have_posts()) {
    the_post();
    // Include the page content template.
    get_template_part('content', 'about');
    //content-about.php
    // If comments are open or we have at least one comment, load up the comment template.
    if (comments_open() || get_comments_number()) {
        comments_template();
    }
    // End the loop.
}
?>
					</div>
					<?php 
btc_leftnav($current_post);
?>
				</div>

<?php 
btc_get_sponsor_logos();
get_footer();
Beispiel #2
0
                            <?php 
the_content();
?>

                        </div>

                    <?php 
//display the actual post content
the_post();
?>

                    </div>

                    <?php 
// in functions-custom.php
btc_leftnav($post);
btc_get_sponsor_logos();
?>

				<!--end content-->
				</main>

				<?php 
wp_reset_query();
//get the sidebar
$avia_config['currently_viewing'] = 'page';
get_sidebar();
?>

			</div><!--end container-->