<div class="singlePost">
                            <?php if(have_posts()) : while(have_posts()) : the_post('');?>
                            <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                                <div class="articleDetails">
                                    <div class="articleTitle mainPageCenterTitle">
                                        <h1><?php the_title(); ?></h1>
                                    </div><!--End articleTitle-->
                                </div><!--End Article Details-->
                                <div class="articleContent">
                                    <div class="mainpostconntents"><?php the_content(''); ?></div></div><!--End ArticleContent-->
                                <div class="articleShare">
                                    
                                </div><!--End ArticleSahre-->
                            </div><!--End article-->
                            <?php wp_link_pages(); ?>
                            <?php endwhile; ?>
                            <?php  else:  ?>
                            <?php  endif; ?>
                            <?php comments_template('', true); ?>
                        </div><!--End ContentBox-->