php - How Can I Do LIMIT 1, 2 In WP_Query -


I am using the Wp_Query method and I have to learn that there is a parameter to limit my query. I try to use LIMIT 1,2 in WP_Query. Thanks for advance!

  $ args = array ('post_type' = & gt; post ',' post_status '= & gt;' publish ',' orderbie '=>' id ',' order '= & Gt;' DESC ',' Meta_query '= & gt; array (array (' key '= & gt;' featured ',' value '= & gt;' avat ',' comparison '=> = '))); // query $ the_query = new WP_Query ($ Args); You can see the  posts_per_page  and  offset   
/ Strong> for WP_Query () such as: -

  $ query = new WP_Query (array ('posts_per_page' => 5, 'offset' = & Gt; 3)); For more,  

: -

You are asking for LIMIT 1,2 (semantic offset, calculation (how many lines))

  Post_Pages = Gin Offset = Offset