Use the following:
$args = array(
'post_type' => '[custom post type name]',
'paged' => $paged,
'has_archieve' => true
);
$catquery = new WP_Query($args);
echo pagination_bar($catquery);
Related Posts:
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Pagination not working on Custom Page Template
- Navigation link to specific user page
- Archive Page for Custom Post Type is not Working
- Delete post by giving its link
- How to add pagination in between post and comments?
- Making a custom Pagination for multi page blog post
- Custom Post Limit for homepage only without plugin?
- Some custom post types did not return an object
- Pagination Not Working With Custom Post Type Category
- Custom Select Query pagination not working properly
- wordpress paginate, link to the right page
- Custom Post Type Pagination 404 Error (if paged>=2) [duplicate]
- How to display by default only published posts/pages in the admin area?
- Find out who deleted a page or post?
- Post/Page Preview Template
- using wp_update_post on save_post
- Replace image attributes for lazyload plugin (data-src)
- How to Group Posts by the First Letter or Number?
- WordPress plugin to publish to multiple remote WordPress blogs
- How to wrap every image in a post with a div?
- I’m having some issues with previous_post_link() and next_post_link()
- Show One Category on Post
- how to grab first link in post… and of course call it
- WordPress Delete hook with wp_delete_post function?
- Order post by year DESC and month ASC
- Linking to page with all posts
- Do I use custom post type or something else?
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- Delete Post From Front-End and attachment permanently
- Custom post type permalinks breaking due to 3.1 bug fix
- ‘Invalid post type’ error when importing from one site to another
- Blogroll – Different layout for first post
- How to delete old posts’ edits to save space?
- Get post id in wordpress action?
- Edit custom post type admin menu link
- How to include a post type in the admin/backend?
- How to make number of blog posts a custom field?
- WordPress blog or WordPress website
- Using custom post template
- Hiding Draft Post In Admin
- Adding custom fields to bbpress reply form
- How to Restrict Previous & Next Post Link to Posts of Same Category?
- WordPress custom Query for Posts in Category display posts multiple times
- Editing the default page to show all posts, rather than most recent ones
- How to handle broken links created by permalink/slug changes?
- Permission issue with custom post type – not added to menu – by plugin
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- Add a custom meta box in the post options that loads some html code in the header
- Static posts page with home.php
- Start WP Pagination From Number 1 in URL
- Is it possible to paste a link without tags and make it directly a link in a post?
- Use two different post_per_page limits with infinite scroll
- Is it possible to customize the post according to post format in single.php?
- Adding a user’s ID behind the tag ref link address
- Using setup_postdata() with multi-dimensional array
- Only show featured image on first page of paginated posts
- How to generate/create link automatically on every word of post in wordpress
- Display the 2nd category name of a custom post type without error if its null?
- Querying another post category to match current post and display in loop
- datepicker value in mysql
- Simple Custom Metabox Not Saving
- How to restore deleted post related with deleted users
- Custom Post Type Single Loop Outputting Wrong Post
- Pagination for posts inside a specific category
- How to output all taxonomy links from a custom post type in a menu?
- Can I style single post that are in multiple catergories?
- WordPress Post Deletion Issue
- How Can I Always Display A Particular Post First Using WP_Query?
- MySQL: Possible to replace all of wp_posts.post_content(id#) via UPDATE + REPLACE + SELECT?
- Change modified date to current date when title updated automatically
- How to put the author of the post in the comments?
- Blog posts pagination not working
- WordPress 5: prevent link from displaying page title instead of URL
- Go back to the exact post page number
- How to add a custom class attribute into code wrapper? [duplicate]
- Redirecting wordpress search query to archive page
- Pagination Stops
- Remove pagination if search returns empty
- How to invoke a HTML custom button based on a HTML dropdownlist menu
- Custom Post Type Rewrite URL
- Custom Post Types and Broken Permalinks
- The first post appears twice
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Show Posts By Custom Field
- How to retrieve custom field values and save again as array
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Customize search results to include custom posts and display in a specific template page
- Custom permalink based on custom post type fields
- Featured Images link to post parent
- Checking if some condition is matched before inserting post into database
- External link not showing on post but showing on comment
- Can’t get pagination to work
- How to display a paginated list of posts from one category on a page? [duplicate]
- Custom Post Title as search term
- Page not found after clicking on pagination
- How remove “recent comments” title without modifying code? [closed]
- Read more link not working [closed]
- How edit footer copyright info? [closed]
- Need to show birthday of custom post type(Famous people in this case) in elementor. Date of birth set in custom fields