<?php
/**
 * Template Name: Contact us Page Template
 *
 * @package WordPress
 * @subpackage Probit
 * @since Probit 1.0
 *
 */
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}
get_header();
?>
<div class="single_top_bar entry-header">
    <div class="container">
        <div class="row">
            <h1 class="entry-title text-capitalize col-xs-12"><?php the_title(); ?></h1>            
            <?php if (get_theme_mod('enable_breadcrumbs')) { ?>
                <div class="col-xs-12"><?php probit_breadcrumb(); ?></div>
            <?php } ?>
        </div>
    </div>
</div>
<div class="container">
    <div class="row">
        <div id="content" class="site-content" role="main">
            <div class="container">
                <div class="row">
                    <div id="primary" class="col-md-12 col-sm-12 col-xs-12 padding_0 contact-template content-area">
                        <?php
                        edit_post_link(__('Edit', 'probit'), '<span><i class="fa fa-pencil-square-o"></i> ', '</span>');
                        ?>
                        <div class="col-sm-12 col-md-12 col-sm-12 contact-form">
                            <div class="col-xs-12 padding_0 contact-template-address">
                                <?php
                                while (have_posts()) : the_post();
                                    // Include the page content template.
                                    get_template_part('content', 'page');
                                endwhile;
                                ?>
                            </div>
                            <div class="col-xs-12 padding_0 contact_us_form">
                                <?php
                                if (is_active_sidebar('contact-sidebar')) :
                                    // Call contact sidebar
                                    dynamic_sidebar("contact-sidebar");
                                endif;
                                ?>
                            </div>
                        </div>
                    </div>
                </div><!-- .row -->
            </div><!-- .container -->
        </div><!-- #content -->
    </div><!-- .row -->
</div><!-- .container -->
<?php
get_footer();
