Title: Fixing the content
Last modified: August 30, 2016

---

# Fixing the content

 *  [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/fixing-the-content/)
 * My posts are all like this:
 *     ```
       [gallery 1]
       <img>
       blurb 1
       <!--more-->
       blurb 2
       [gallery 2]
       blurb 3
       etc
       ```
   
 * In my theme the loop calls
    `the_content();` Somehow it doesn’t respect the more
   tag in the posts. It shows blurb 1-3 all to the end.
 * If I change it to the excerpt it seems to cut at the right place, but then I 
   need more code to get the read more tag back.
 * I saw in [https://codex.wordpress.org/Template_Tags/the_content](https://codex.wordpress.org/Template_Tags/the_content)
   
   under _Overriding Archive/Single Page Behavior_ I can use
 *     ```
       <?php
       global $more;    // Declare global $more (before the loop).
       $more = 0;       // Set (inside the loop) to display content above the more tag.
       the_content("More...");
       ?>
       ```
   
 * This now shows
 *     ```
       [gallery 1]
       <img>
       blurb 1
       <!--more-->
       ```
   
 * But I want to strip all img and gallery from the excerpt because the featured
   thumb is already there.
 * What should I do?

The topic ‘Fixing the content’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [funsail](https://wordpress.org/support/users/funsail/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/fixing-the-content/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
