<?php
/**
 * Template Name: Page: How it works
 *
 * @package Pointify
 */

 get_header();
 ?>
 
    <main id="primary" class="site-main">
        <div class="page_header_section" style="background-image: url(<?php echo get_the_post_thumbnail_url(get_the_ID(),'full');
  ?>);">
             <?php pointify_page_header(); ?>
             <div class="page_breadcrumb_sec">
                 <?php echo pointify_page_breadcrumb(); ?>
             </div>
        </div>
        
        <?php
            $style_demo = get_theme_mod( 'pointify_demo_selection', '' );
        if ( $style_demo === 'job_board') { ?>
        <div class="how-it-work-main-section">
            <div class="container">
				<div class="row">
					<div class="col-md-12">
                        <?php
                            dynamic_sidebar( 'widget-area-how-it-work-page');
                        ?>
                    </div>
                </div>
            </div>
        </div>
        <?php } else { ?>
        <div class="how-it-work-main-section">
            <div class="container">
				<div class="row">
					<div class="col-md-12">
                        <?php if ( $style_demo === 'lawyer' ) {	
                            the_content();
                        } else { ?>
                            <div class="work-step-section">
                                <?php the_content(); ?>
                            </div>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
        <?php } ?>

    </main><!-- #main -->
 
 <?php
 get_footer();