• Resolved theal3x

    (@theal3x)


    Hello everybody,

    My paging code displays the total posts found, but I wanted to create a condition to display only the posts with an set value in wp_postmeta.

    How could I do?

    global $wp_query;
    $request = $wp_query->request;
    $showpages = 12;
    $numposts = $wp_query->found_posts;

    Thanks anyway.

The topic ‘Search posts with parameters’ is closed to new replies.