                            <div class="articleAuthor">
                           
                                <div class="authorContent">
                                <div class="authorLeft">
                                	<div class="authorAvatar">
                                    	<?php echo get_avatar( get_the_author_meta( 'user_email' ), '120' ); ?>
                                    </div><!--End AuthorAvatar-->
                                </div><!--End Author Left-->
                                	<div class="authorDetails">
                                    	<h2><?php _e('About ','lioit') ?> <?php the_author_posts_link(); ?></h2>
                                        <span class="AuthorPostsCount"><i class="icon-file-alt"></i> <?php _e('Number of Entries : ','lioit') ?><?php
										global $post;
										$author_id=$post->post_author;
											$post_author = $author_id; //author id
											$count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = $post_author AND post_type IN ('post') and post_status = 'publish'" );
											echo $count;
									?></span><!--End Count-->
                                    
                                    </div><!--End AuthorDetails-->
                                    
                                    <p><?php the_author_meta('description'); ?></p>
                                    <div class="authorSocial">
									<?php if ( get_the_author_meta( 'url' ) ) : ?>
                                    <a class="icon-wordpress social-icon  size-m" href="<?php the_author_meta( 'url' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( " 's site", 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'twitter' ) ) : ?>
                                    <a class="icon-twitter social-icon  size-m" href="http://twitter.com/<?php the_author_meta( 'twitter' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on Twitter', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'facebook' ) ) : ?>
                                    <a class="icon-facebook social-icon  size-m" href="<?php the_author_meta( 'facebook' ); ?>" title="<?php the_author_meta( 'display_name' ); ?> <?php _e( '  on Facebook', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'gplus' ) ) : ?>
                                    <a class="icon-google-plus social-icon  size-m" href="<?php the_author_meta( 'gplus' ); ?>" title="<?php the_author_meta( 'display_name' ); ?> <?php _e( '  on Google+', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    
                                    <?php if ( get_the_author_meta( 'flickr' ) ) : ?>
                                    <a class="icon-flickr social-icon  size-m" href="<?php the_author_meta( 'flickr' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on Flickr', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'youtube' ) ) : ?>
                                    <a class="icon-youtube social-icon  size-m" href="<?php the_author_meta( 'youtube' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on YouTube', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'pinterest' ) ) : ?>
                                    <a class="icon-pinterest social-icon  size-m" href="<?php the_author_meta( 'pinterest' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on Pinterest', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'dribbble' ) ) : ?>
                                    <a class="icon-dribbble social-icon  size-m" href="<?php the_author_meta( 'dribbble' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on dribbble', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                
                                   
                                    <?php if ( get_the_author_meta( 'linkedin' ) ) : ?>
                                    <a class="icon-linkedin social-icon  size-m" href="<?php the_author_meta( 'linkedin' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on Linkedin', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                                    <?php if ( get_the_author_meta( 'tumblr' ) ) : ?>
                                    <a class="icon-tumblr social-icon  size-m" href="<?php the_author_meta( 'tumblr' ); ?>" title="<?php the_author_meta( 'display_name' ); ?><?php _e( '  on Tumblr', 'lioit' ); ?>"></a>
                                    <?php endif ?>
                        
                                </div>
                                    
                                    
                                    
                                </div><!--End AuthorContent-->
                                
                            </div><!--End ArticleAuthor-->