Title: Problem with the_content()
Last modified: August 19, 2016

---

# Problem with the_content()

 *  [cpryce](https://wordpress.org/support/users/cpryce/)
 * (@cpryce)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/problem-with-the_content/)
 * In my page.php template, I want to show the post for the current page in one 
   column and in a second column, I want to show several articles from a selected
   category. But I only want the part of the article before the more link.
 * No matter what I try, the second loop always posts the full article
 *     ```
       <td class="left">
           <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
           <h1><?php the_title(); ?></h1>
           <?php the_content(); ?>
           <?php endwhile; else: ?>
           <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
          <?php endif; ?>
       </td>
       <td class="right">
         <?php query_posts('category_name=home&showposts=5&order=ASC'); ?>
         <?php while (have_posts()) : the_post(); ?>
         <h3><?php the_title(); ?></h3>
         <?php the_content(__(" more...")); ?>
         <?php endwhile; ?>
       </td>
       ```
   
 * Again, the problem with the second loop is that I always get the full post. I
   want just the post up to the more link.
 * And I have checked, each post in that category has a more link.

Viewing 1 replies (of 1 total)

 *  Thread Starter [cpryce](https://wordpress.org/support/users/cpryce/)
 * (@cpryce)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/problem-with-the_content/#post-1005844)
 * Found the answer in:
 * [http://wordpress.org/support/topic/168032?replies=17](http://wordpress.org/support/topic/168032?replies=17)

Viewing 1 replies (of 1 total)

The topic ‘Problem with the_content()’ is closed to new replies.

## Tags

 * [more link](https://wordpress.org/support/topic-tag/more-link/)

 * 1 reply
 * 1 participant
 * Last reply from: [cpryce](https://wordpress.org/support/users/cpryce/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/problem-with-the_content/#post-1005844)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
