File: /home/awaldron/_domains/waldroninteractive.com/wp-content/themes/whoiam/page.php
<?php
/**
* Page.php
* @package WordPress
* @subpackage Who I Am
* @since Who I Am 1.9
*/
?>
<?php get_header(); ?>
<?php
get_template_part('menu_section');
if (have_posts()) : while (have_posts()) : the_post();
global $post;
$post_name = $post->post_name;
$post_id = get_the_ID();
?>
<section id="blog" class="block-section">
<!-- ***************************************
Start of BreadCrumbs
*************************************** -->
<?php
if (!is_front_page()) {
$current_blog_page_id = get_option('page_for_posts');
if((get_post_meta( $current_blog_page_id, 'rnr_disable_title', true )!= true) ){ ?>
<div class=" shape-bottom">
<div class="bg-secondary block-title">
<div class="container">
<h2 class="text-uppercase color-dark text-bold no-margin"><?php if(get_post_meta( $current_blog_page_id, 'rnr_alt_title', true )){ echo get_post_meta( $current_blog_page_id, 'rnr_alt_title', true ); } else { echo get_the_title($current_blog_page_id); } ?></h2>
<?php if(get_post_meta( $current_blog_page_id, 'rnr_subtitle', true )){ echo '<div class="title-icon">'.get_post_meta( $current_blog_page_id, 'rnr_subtitle', true ).'</div> '; } ?>
</div>
</div>
</div>
<?php }
}
?>
<!-- ***************************************
End of BreadCrumbs
*************************************** -->
<div class="block-page" >
<div class="container-medium">
<div class="row">
<div class="blog-content">
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
<?php the_post_thumbnail('post-thumb'); ?>
<?php } ?>
<h5 class="text-uppercase color-dark text-bold"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__('Permalink to %s', 'whoiam'), the_title_attribute('echo=0') ); ?>"><?php the_title(); ?></a></h5>
<div class="klbtheme">
<?php the_content(); ?>
<?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
</div>
</div>
<div class="white-space-40"></div>
<?php comments_template(); ?>
</div>
<!-- ***************************************
End of FullWidth
*************************************** -->
<?php
endwhile;
endif;
wp_reset_query();
?>
</div></div>
<?php get_footer(); ?>