<?php
$parallax_page_title_bg	 = leap_get_option_with_default( 'parallax_page_title_bg', 'leap_parallax_page_title_bg' );
$title_parallax			 = ($parallax_page_title_bg == 'on' ? 'leap-parallax' : '');
$leap_dsiplay_title		 = get_post_meta( leap_get_current_page_id(), 'leap_display_title', true );
$leap_subtitle_text		 = get_post_meta( leap_get_current_page_id(), 'leap_subtitle_text', true );
$display_title			 = '';
if ( $leap_dsiplay_title == 'no' ) {
	$display_title = 'style="display:none;"';
}
?>

<div id="title" class="pagetitle1 <?php echo $title_parallax; ?>" <?php echo $display_title; ?>>
	<div class="<?php echo apply_filters( 'leap_container_class', 'container-fluid' ); ?>">
		<div class="row">
			<div class="<?php echo leap_bws_col_class( 12 ); ?>">
				<div class="title-container">
					<div class="entry-title pull-left">
						<h1 itemprop="name"><?php echo leap_get_current_page_title(); ?></h1>
                        <h5 class="subtitle"><?php echo $leap_subtitle_text; ?></h5>
					</div>
					<div class="breadcrumbs pull-right">
						<?php leap_breadcrumbs(); ?>
					</div> 
				</div>
			</div>
		</div>
	</div>
</div>
