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

---

# query_posts content filtering

 *  [yox64](https://wordpress.org/support/users/yox64/)
 * (@yox64)
 * [13 years ago](https://wordpress.org/support/topic/query_posts-content-filtering/)
 * Hi there!
 * I have a shortcode that gets me posts ( [http://pastebin.com/50TL5dQx](http://pastebin.com/50TL5dQx))
   by tags using the shortcode attributes. Everything works fine, except the fact
   that when I display the content, it shows me everything from the posts and I 
   only need the content generated by “generate_caracters” function.
 * When I run it on the page, it shows me the output from “generate_caracters” and
   under it, the other information from the posts which I dont need. So I actually
   need to filter the output so that I get only content generated by “generate_caracters”
   function.
 * Anyone know how can I fix this?
 * Thank you!

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

## Tags

 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [yox64](https://wordpress.org/support/users/yox64/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/query_posts-content-filtering/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
