Forums

My query has a specific post_type and tags (2 posts)

  1. andreaamado
    Member
    Posted 9 months ago #

    I'm trying to use wp_navigate to paginate a custom query. The query has a specific post_type and tags.

    `$args = array ( 'post_type' => 'med',
    'posts_per_page' => 30,
    'order' => 'ASC',
    'orderby' => 'title',
    'tag' => $tag,
    'paged' => $paged
    );
    $wp_query = new WP_Query( $args ); `

    They return me all tags from med post_type, and return me a correct pagination, but when i click on page 2, or 3… i have page not found.

    Can anyone help me with this?

  2. andreaamado
    Member
    Posted 9 months ago #

    nobody answer me here :(

Reply

You must log in to post.

About this Topic