If your question is:
I want this query to limit it self to the first page in wich i have 10 post
I think adding a 'posts_per_page' => 10
array parameter will do the thing for you:
query_posts( array( 'post_type' => 'listings','type' => 'featured','posts_per_page' => 10 ) );
But above all, I’d like to recommend you to use WP_Query()
instead, because of a Great cause. And moreover it will give you much ease with a lot of query arguments. And you can use a lot of them even in a single page, and with no danger.
Related Posts:
- How do I move/order posts with a tag to the end?
- Pagination not working with custom loop
- Pagination throws 404 error on custom taxonomy archive pages
- Pagination throws 404
- SQL to update custom post taxonomies
- Query multiple taxonomy in Custom Post Type
- Querying Posts by Taxonomy From Alternate Network Site
- custom post type paging not working past page 3
- Custom Taxonomy archive returns 404
- Include different loop templates in search query
- Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
- Paginated Taxonomy Term Archive including one post per term
- Custom Post Type Pagination & duplicate posts
- WP_Query search posts by custom post type and custom taxonomy
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Is it possible to create a shortcode that will query a post based on taxonomies?
- Show Two custom Post type and their posts on category page
- How to filter custom taxonomy categories on archive?
- Querying Term Posts in Loop
- Repeating posts when paginating random posts
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Am unable to reset a query properly
- Get next and previous 3 posts in a term in single post page
- Making certain categories of CPT not publicly queryable
- Pagination for Custom Taxonomy Page [duplicate]
- Search / Filter posts on Title/Content OR Tags
- Get parse_query filter to return slug instead of id
- Custom taxonomy rewrite give pagination 404
- Specific query for custom post type
- Display post content with respect to its title?
- Custom Post Type Pagination Paginates Only in URL Structure
- First custom field value (out of several) displayed twice after query
- WP_Query orderby and tax_query
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Custom post type pagination 404
- Number of posts in the archive
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- Can’t use pagination with custom taxonomy
- WP_Query() with custom post type and taxonomy — get all terms?
- previous_post_link in same taxonomy in custom post type
- Can I query posts by taxonomy conditionally based on post type?
- Query not work for current taxonomy
- Display a post from custom post type only if all the selected taxonomies and custom field value matches the record
- Break up posts per page in two sections
- Custom Post Type not showing in main loop
- Custom post type and custom taxonomy 404 on page 2
- Pagination on search results page
- How to list custom post types on a custom post type page?
- Custom taxonomy query showing more than 4 posts
- Taxonomy rewrite pagination 404
- Custom types, taxonomies and query optimization
- Query Custom Post by taxonomy multiple categories
- Query custom posts from custom taxonomy
- 2 custom post type paging in 1 custom taxonomy
- custom taxonomy pagination 404 error
- Custom archive page for custom taxonomy and pagination issue
- How to divide Subcategories into pages of parent category wordpress
- Check that a slug is present in the get_terms request
- Custom post type paging return home page
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Displaying all posts by category and showing content on click
- Remove custom taxonamy slug with pagination
- pagination problem listing custom post types of taxonomy in wordpress
- WP_Query for custom taxonomies showing posts from non-specified terms?
- WordPress custom post type taxonomy paging
- How to display custom post type pagination buttons when processing AJAX request
- Why is my loop not populating the page with my custom taxonomy terms from my custom post type?
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- CPT/Taxonomy/Postname permalink structure makes pagination break
- Pagination with a custom post type
- I want to create pagination for my custom post type archive that i am displaying with loop
- Pagination not working (page/2 retunring 404 page)
- 404 error next-page [2] PageNavi custom type taxonomy
- pagination for a custom query
- Get posts of an specific term of a custom taxonomy
- Pods pagination erases my sub menu
- Custom taxonomy in custom post type archive with pagination
- Query Pulling the same post twice
- Pagination fault in custom post type archive page [duplicate]
- Paginate custom taxonomy category with wp_custom_pagination
- Pagination in custom loop for custom post type throwing 404 error
- Query Only Show Text on Posts With Certain Taxonomy Tag
- Pagination for a Custom Taxonomy
- Pagination URL order
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Listing custom post type items from a couple of custom taxonomies
- Pagination not working with custom loop
- See the process of creating a taxonomy and tell me where I made a mistake
- the_post_navigation in single page with multiple taxonomies
- How to Add Custom Taxonomy To Woocommerce Plugin
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- Custom Post type is being ignored in query
- Custom query – get_the_terms not work
- How to select a template for a custom post type?
- Get posts associated with custom taxonomy alternate way
- How to grab data (titles, thumbnails and custom fields) from multiple posts to populate a new array efficiently?