Title: New QP_query
Last modified: August 30, 2016

---

# New QP_query

 *  [djansson](https://wordpress.org/support/users/djansson/)
 * (@djansson)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/new-qp_query/)
 * Hello,
 * In my theme I have a function that loads two custom values from the logged in
   author, which returns as an array with tag ID and category ID’s that the logged
   in authors “follows”.
 * The problem is, when I try to load the posts that either are in category number
   1, tag number 33 or category number 29 it doesn’t work at all, and the page just
   tells that “Nothing could be find”.
 * My query:
 * $args = array (
    ‘category__in’ => $load_author_sections, ‘tag__in’ => $load_authors_tags,‘
   orderby’ => ‘date’, ‘relation’ => ‘OR’, );
 * Am I missing something in the code?

The topic ‘New QP_query’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [djansson](https://wordpress.org/support/users/djansson/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/new-qp_query/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
