Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- get_header();
- get_template_part('index','banner'); ?>
- <!-- Blog Section Right Sidebar -->
- <div class="blog-section-lg">
- <div class="container">
- <div class="row">
- <!-- Blog Area -->
- <div class="<?php appointment_post_layout_class(); ?>" >
- <?php
- if(have_posts())
- {
- while(have_posts()) { the_post();?>
- <div id="post-<?php the_ID(); ?>" <?php post_class('blog-lg-area-left'); ?>>
- <div class="media">
- <?php appointment_aside_meta_content(); ?>
- <div class="media-body">
- <?php // Check Image size for fullwidth template
- if( is_page_template('blog-full-width.php'))
- appointment_image_thumbnail('','img-responsive');
- // Check Image size for Different format like Single post,page
- elseif(is_single() || is_page())
- appointment_post_thumbnail('','img-responsive');
- else
- appointment_post_thumbnail('','img-responsive');
- appointment_post_meta_content();
- if( !is_page_template('fullwidth.php') && get_the_title() && !is_page() ) { ?>
- <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <?php } ?>
- <?php
- // call editor content of post/page
- the_content( __( 'Read More' , 'appointment' ) );
- wp_link_pages( );
- ?>
- </div>
- </div>
- <div class="blog-btn-area-lg"></div>
- </div>
- <!--Blog Author-->
- <div class="comment-title"><h3><?php _e('About the Author','appointment'); ?></h3></div>
- <div class="blog-author">
- <div class="media">
- <div class="pull-left">
- <?php echo get_avatar( get_the_author_meta( 'ID') , 200); ?>
- </div>
- <div class="media-body">
- <h2> <?php the_author(); ?> <span> <?php $user = new WP_User( get_the_author_meta( 'ID' ) ); echo $user->roles[0];?> </span></h2>
- <p><?php the_author_meta( 'description' ); //the_author_description(); ?> </p>
- <ul class="blog-author-social">
- <?php
- $google_profile = get_the_author_meta( 'google_profile' );
- if ( $google_profile && $google_profile != '' ) {
- echo '<li class="googleplus"><a href="' . esc_url($google_profile) . '" rel="author"><i class="fa fa-google-plus"></i></a></li>';
- }
- $twitter_profile = get_the_author_meta( 'twitter_profile' );
- if ( $twitter_profile && $twitter_profile != '' ) {
- echo '<li class="twitter"><a href="' . esc_url($twitter_profile) . '"><i class="fa fa-twitter"></i></a></li>';
- }
- $facebook_profile = get_the_author_meta( 'facebook_profile' );
- if ( $facebook_profile && $facebook_profile != '' ) {
- echo '<li class="facebook"><a href="' . esc_url($facebook_profile) . '"><i class="fa fa-facebook"></i></a></li>';
- }
- $linkedin_profile = get_the_author_meta( 'linkedin_profile' );
- if ( $linkedin_profile && $linkedin_profile != '' ) {
- echo '<li class="linkedin"><a href="' . esc_url($linkedin_profile) . '"><i class="fa fa-linkedin"></i></a></li>';
- }
- $skype_profile = get_the_author_meta( 'skype_profile' );
- if ( $skype_profile && $skype_profile != '' ) {
- echo '<li class="skype"><a href="' . esc_url($skype_profile) . '"><i class="fa fa-skype"></i></a></li>';
- }
- ?>
- </ul>
- </div>
- </div>
- </div>
- <div class="blog-pagination-square">
- <?php previous_posts_link( __('Previous','appointment') ); ?>
- <?php next_posts_link( __('Next','appointment') ); ?>
- </div>
- <!--/Blog Author-->
- <?php } ?>
- <?php comments_template('',true); ?>
- <?php } ?>
- </div>
- <!-- /Blog Area -->
- <!--Sidebar Area-->
- <div class="col-md-4">
- <?php get_sidebar(); ?>
- </div>
- <!--Sidebar Area-->
- </div>
- </div>
- </div>
- <!-- /Blog Section Right Sidebar -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement