Add offset in the query and give value as 5 so, the first 5 will be skipped.
Below is code snippet for the same
$custom_args = array('post_type' => 'your custom post type name',
'posts_per_page' => '20',
'orderby' => 'id',
'offset'=>5,
'order' => 'ASC',);
$custom_query = get_posts($custom_args);
foreach ($custom_query as $value) {
//your data
}
Related Posts:
- How to Change Order of Posts in Admin?
- Difference between an archive and a page listing posts
- Different post sort order within different categories
- Clear cache when a post is submitted [closed]
- Sort posts by popularity/page views
- How do I reorder (pop and push) items from WP_Query?
- How to put last edited entry on top of the blog-post list?
- How to sort posts by last name (2nd word) on ONE category only?
- Create an “All Posts” or “Archives” Page with WordPress 3.0?
- Query posts from current year
- Reverse chronology of post listing
- widget should display post archive by year and on click also by month
- Order Posts by Alphabetical for Each Letter
- Set number of article per number of page
- At my posts archive page, outside the loop, get_the_id() returns the top most post’s ID
- Display most recent post in category instead of archive?
- Single.php Active Category Class
- How to choose a sort order (for posts) per category? (ideally when creating a new category)
- Link for the page archive for posts, like using custom post types with get_post_type_archive_link
- Order post by year DESC and month ASC
- How to get the latest posting time of archived pages in WordPress?
- orderby=meta_value_num creates duplicate posts
- change default post archive page link
- Change Order of Admin Posts Depending on Meta
- Display posts in alphabetical order for a particular category
- Display all months with posts and inside each month show the 5 latest posts
- post re-order on my site
- Category List (Archive) Page Template By Category
- Yearly archive page for future year
- Why orderby=”date” does not support manually changed posts?
- Which URL to enter into browser to show all posts in archive.php?
- Guest Author – How to display posts on /author/ archive page
- WP_Query orderby not working with meta_value_num and menu_order
- How can I sort posts by the date and a custom meta field?
- Sort WP posts by span value
- List category posts alphabetically on archive.php
- How to sort posts inside categories
- Any way for get_next_post() to use the actual post order instead of publish order?
- Custom order for Mysql array
- How to order posts by meta_value and title
- How to display excerpt post on hamepage and archive pages?
- Increase 10 post limit per page
- Order posts alphabetically: how to set order=asc in mysql query?
- Automatically create a new page daily with last three posts
- how to get post order by post id wp_query?
- How Do I Get My Post Tags to Alphabetize?
- Archiving posts in wordpress
- While loop articles – if statement order
- Make a vertical dynamic list of posts in alphabetically order and in columns [closed]
- Create a list of posts with topic headdings
- Custom Post Type archive
- How can I add a box to edit Order on a regular post?
- Does WP automatically tag posts into the archive?
- singular posts using archive styling
- get_previous_post() while accounting for sticky posts
- Need to know custom code to display random and most viewed posts in wordpress posts and pages
- I want to show my post for limited time, how is it possible?
- Exclude a category of posts in author template
- How to edit the ‘
- Post-Archive like a page in a specific subdirectory
- Posts and order
- Display in category ( taxonomy) a number of post that I want
- Find out in which kind of archive am I
- Adjust the order for returned posts
- adding my posts (author posts) in menu
- How to view all posts (on site, not admin) that are uncategorized?
- Order posts by date
- Highlighting Current Category in the Archive and Feeds page
- How to hide protected posts from archive?
- blog post not accesible on click [closed]
- Redirect to custom post if custom archive page has just one result?
- Posts are not displaying on their category and tag page
- query posts with selected post ids first
- show image gallery in archives or category page
- view a list of 3 future post, from the nearest to the most far
- Get posts from category from custom query
- How do I display posts ordered by a date custom field?
- How do I apply a wordpress function to something with no ID inside an archive page?
- Allow reader to reorder posts for themselves (oldest first)
- Random order of the 5 most popular posts
- Page 2 has no posts?
- My custom query is displaying random posts in random order
- Get query result according to merged array
- Disable archiving of old posts?
- How to display term in archive page?
- How to organise post by category and date
- Daily posts like an archive
- How to set a link to custom archieve page
- How to get alphabetic listing x other posts, based on first letter post?
- How do I display the next 3 posts in the sidebar?
- Last three posts not being put in order by date. How to fix this?
- How to get pagination working with “Pending” Posts
- Show all posts in category
- custom sort posts in archive/taxanomy page
- Add author section on Author archive posts
- Custom Admin Post Column change order
- Display post count on archive page in reverse order
- Filter/Sort Post Form On Taxonomy page
- How to sort posts alphabetically based on a specific parent category
- Category and archive issue