WordPress.org

Support

Support » How-To and Troubleshooting » Read More does not show the rest of my post

Read More does not show the rest of my post

  • Hello!

    I am using a read more element of my posts but although it appears on my page it does not show up the remaining post once I click it.

    <?php
    global $more;
    $more = 0;
    ?>
    <div id="content">
    
    <?php
    query_posts('cat=5');
    while (have_posts()) : the_post();
    $thumb_id = get_post_thumbnail_id();
    
    $thumb_url = wp_get_attachment_image_src($thumb_id,'full', true);
    echo '<div class="myContent">
    <img class="image" src="'.$thumb_url[0].'" >';
    
    the_content('<div class="read">READ MORE</div>');
    echo'</div>';
    endwhile;
    ?>
    
    </div>
  • The topic ‘Read More does not show the rest of my post’ is closed to new replies.