<?php
get_header();
?>
    <section class="container-fluid  p_t_80  p_b_80  ">
        <?php while (have_posts()) : the_post(); ?>
        <div class="row">
            <div class="container">
                <div class="row m_t_80 m_b_80   about_text">
                    <div class="col-md-6 col-md-offset-6">
                        <div class="blog_details_head">
                            <h4><?php echo custom_taxonomies_terms_links(); ?><?php $categories = get_the_category();
                                if ( ! empty( $categories ) ) {
                                    echo esc_html( $categories[0]->name );
                                } ?></h4>
                            <h2><?php the_title(); ?></h2>
                        </div>

                        <p class="blog_ppp m_t_30"><?php $user_info = get_userdata(1);
                            echo $user_info->first_name." ".$user_info->last_name;
                            ?>&nbsp;&nbsp;/&nbsp;<?php echo esc_html ( get_the_date() ); ?></p>
                    </div>
                </div>
                <div class="row   m_b_80   about_text">
                    <div class="container smaller blog_text">
                        <?php
                            the_content();
                        ?>
                        <div class="social_des">
                            <?php
                            echo '<a class="social-sharing-icon social-sharing-icon-facebook" target="_new" href="http://www.facebook.com/share.php?u=' . urlencode(get_the_permalink()) . '&title=' . urlencode(get_the_title()). '"><i class="fa fa-facebook"></i></a>';
                            echo '<a class="social-sharing-icon social-sharing-icon-linkedin" target="_new" href="http://www.linkedin.com/shareArticle?mini=true&url=' . urlencode(get_the_permalink()) . '&title=' . urlencode(get_the_title()) . '&source=' . get_bloginfo("url") . '"><i class="fa fa-linkedin"></i></a>';

                            echo '<a class="social-sharing-icon social-sharing-icon-twitter" target="_new" href="http://twitter.com/home?status='. urlencode(get_the_title()). '+'. urlencode(get_the_permalink()) . '"><i class="fa fa-twitter"></i></a>';
                            echo '<a class="social-sharing-icon social-sharing-icon-email" target="_new" href="mailto:?subject=' . urlencode(get_the_permalink()) . '&body=Check out this article I came across '. get_the_permalink() .'"><i class="fa fa-envelope"></i></a>';
                            ?>
                        </div>
                    </div>
                </div>

            </div>
        </div>
        <?php endwhile; wp_reset_postdata(); ?>
        <?php example_cats_related_post() ?>
    </section>
<?php get_footer();
