I think you forgot to add this to your query args. By adding this page parameter WP will show the posts that would normally show on page=x.
Solution:
// So that WordPress will know which page to show
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
// Our query args array.
$args = array(
'taxonomy' => 'portfolio_categories',
'term' => 'artwork',
'post_type' => 'portfolio',
'posts_per_page' => 4,
'paged' => $paged
);
If this does not work, let me know. 🙂
Related Posts:
- Pagination throws 404 error on custom taxonomy archive pages
- Pagination throws 404
- custom post type paging not working past page 3
- Custom Taxonomy archive returns 404
- Paginated Taxonomy Term Archive including one post per term
- Custom Post Type Pagination & duplicate posts
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Repeating posts when paginating random posts
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Pagination for Custom Taxonomy Page [duplicate]
- How do I move/order posts with a tag to the end?
- Custom taxonomy rewrite give pagination 404
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Custom post type pagination 404
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- Can’t use pagination with custom taxonomy
- previous_post_link in same taxonomy in custom post type
- Custom post type and custom taxonomy 404 on page 2
- How to list custom post types on a custom post type page?
- Taxonomy rewrite pagination 404
- 2 custom post type paging in 1 custom taxonomy
- custom taxonomy pagination 404 error
- Custom archive page for custom taxonomy and pagination issue
- Custom post type paging return home page
- Remove custom taxonamy slug with pagination
- pagination problem listing custom post types of taxonomy in wordpress
- 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?
- 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
- Pods pagination erases my sub menu
- Custom taxonomy in custom post type archive with pagination
- Pagination fault in custom post type archive page [duplicate]
- Paginate custom taxonomy category with wp_custom_pagination
- Pagination for a Custom Taxonomy
- Pagination URL order
- how to limit query_post to first page?
- See the process of creating a taxonomy and tell me where I made a mistake
- the_post_navigation in single page with multiple taxonomies
- Get The Post Type A Taxonomy Is Attached To
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- Custom Post type & Taxonomy URL structure
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- wp_pagenavi() with custom wp_query()?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Two Custom Post Types, Share Two Taxonomies
- Querying Posts by Taxonomy From Alternate Network Site
- Permalinks when filtering multiple custom post types by single taxonomy
- Filter custom post type archive page with custom taxonomies (categories) with AJAX
- How-to leverage WordPress for creating Extended Social Profiles
- pagination redirecting from page number url before page requested
- How To Create A Custom Taxonomy 404 Page
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- Query Multiple Taxominies Across Multiple Post type’s
- Custom Post hierarchical to custom taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- Specific query for custom post type
- Custom post type permalink tag 404
- How to get list of taxonomy slugs ordered parents>childs?
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Custom taxonomy and post type with same slug
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Template for custom post type when taxonomy is in the URL
- Query custom post types & Taxonomies and list them in a table on a page
- How to query custom post type by two terms?
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- add custom tags for custom post type in wordpress
- Custom Post Type URL Rewrite’s
- Add term for custom taxonomy from front end
- Auto Generate Post Title from 2 Custom Fields
- i want to send email to user when the custom taxonomy is changed
- Issues with static pages redirecting towards home.php
- Custom post type template – add banner under heading
- Get dropdown child categories from parent category of custom post type
- How do you create pillar content pages?
- Custom post type single page returning 404 error when sharing archive url with custom taxonomy
- Grid slider with custom post type (how to filter with taxonomies?)
- Custom post pagination not working
- Pagination in wp-admin for CPT
- Set different posts_per_page for custom post type/taxonomy
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- Add pagination to custom page
- Facing some Issues on Two Parts Custom Post Type Taxonomy Names
- Change the url of a custom post type to include taxonomy
- Creating adminable dynamic filtering on custom post type
- Complex strcuture as CPT or taxonomy for use in woocommerce product variations [closed]
- WP_Query for CPT with filter by another WP_Query
- How to query posts by meta keys AND under specific category?
- Shortcode display CPT Query only showing 1 post?
- Custom post type archive pagination with HTML5Blank theme?
- How to show a custom taxonomy using a custom template
- Get Registered Custom Post Type to get All Custom Taxonomies
- Custom pagination [duplicate]
- Parent cpt/child custom post type URL permalink relationship
- How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?
- Display ONLY ONE $term (Out of 4 terms) from a Custom Taxonomy and CPT