wordpress - Read more link returns blank page -


i've created custom theme , i'm using template blog page. in template have code calls specific posts according category. far good, problem when post contains "read more". link active when click on empty page instead of whole article.

this code:

<?php         $args = array(                    'category_name' => 'blog',                    'post_type' => 'post',                    'posts_per_page' => 10,                    );          query_posts($args);            while (have_posts()) : the_post();?>               <?php global $more; $more = 0; ?>               <?php echo '<p class="date"><i class="fa fa-calendar"></i> ';                     echo get_the_date();                     echo '</p>';                     echo '<h2>';                     echo '<a class="permalink" href="';                     echo the_permalink();                     echo'" title="';                     echo the_title_attribute();                     echo'">';                     echo the_title();                     echo '</a>';                     echo '</h2>';                     echo '<p class="posts">';                     echo get_the_content('<br/><br/>read more...');                     echo '</p>';                      echo '<hr/>'; ?>         <?php endwhile; ?> 

any appreciated. thanks


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -