• 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.