if(is_singular('post'))
                        theme_breadcrumb();
                    if ( have_posts() ) :
                        while ( have_posts() ) :
                            the_post();
                            // fetch existing likes to display
                            $existing_likes = get_total_likes($post->ID);
                            ?>
                            >
                            
                            
                                                        $format = get_post_format();
                            if( false === $format ) { $format = 'standard'; }
                            get_template_part( 'formats/' . $format );
                                the_content();
                                ?>
                             
                                                        // check if current visitor already voted for this post
                            $extra_class = "";
                            if(already_liked($post->ID))
                            {
                                $extra_class = "already-voted";
                            }
                            ?>
                            
                                
                                
                            
                            
                            // WordPress Link Pages
                            wp_link_pages(array('before' => '', 'after' => '', 'next_or_number' => 'next'));
                            ?>
                                                    endwhile;
                        comments_template();
                    endif;
                    ?>
            
            
            
        
    
 Okeskin yorumun?
  