Title: filtering content 2.0
Last modified: August 21, 2016

---

# filtering content 2.0

 *  [3Pinter](https://wordpress.org/support/users/3pinter/)
 * (@3pinter)
 * [13 years ago](https://wordpress.org/support/topic/filtering-content-20/)
 * So, here we go.
 * Basicly this is the situation I’m dealing with: my ‘single’ page is a gallery
   + textual info.
 * What I want is to
    – always show the gallery – to make a button which enables
   to show the ‘textual info’ by clicking on it. Which is jquery and not the issue.
 * The problem I run into:
    – the gallery is a nice container (div) (good) – the
   content isn’t contained, so I can’t manipulate that.
 * I thought of:
    – putting my content in my article, insert the ‘!more’ tag and
   adjust the ‘single’ loop to ‘<div> the_excerpt() </div> and the_content(”, true).
 * But that just doesn’t give me enough possibilities for positioning my elements.
 * Isn’t there a ‘better’ approach which enables me to filter the content? so my
   output would be
 *     ```
       <div class="content"> My content goes here</div>
       <div id="gallery"> My wp gallery goes here</div>
       ```
   
 * ?
 * Curious for your thoughts / suggestions!

The topic ‘filtering content 2.0’ is closed to new replies.

## Tags

 * [content filter](https://wordpress.org/support/topic-tag/content-filter/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [3Pinter](https://wordpress.org/support/users/3pinter/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/filtering-content-20/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
