Thanks Pat J
I’have got solution now:
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
<?php $offset = ($paged - 1) * 4;?>
<?php $kat = get_field('kategory');?>
<?php $query = new WP_Query(array('offset' => $offset,'post_type' => 'modelki', 'taxonomy' => $kat, 'posts_per_page' => '4')); ?>
Related Posts:
- Custom post type archive 404’s with paginate_links
- Number of pages – multiple (custom) post types
- Custom permalink with pagination
- Related posts by author pagination not working on the production site
- Secondary loop pagination on custom post type single post gets redirected to first page
- Pagination Doesn’t Work
- Numeric pagination custom post type
- Custom wp_query pagination – next_posts_link() or wp_pagenavi() always empty
- custom post type paging not working past page 3
- WP_Query pagination using only numbers instead of /page/1 on URL
- Pagination not working
- Pagination Issue: Custom Post Type In Index
- Custom query form submission pagination
- Paginated Taxonomy Term Archive including one post per term
- Unable to get paginate_links working with a custom query [duplicate]
- Pagination on category page with custom post types
- How to add pagination to wp_query [duplicate]
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- Pagination on a custom post type loop
- Previous/Next Link by Meta Value in CPT
- Pagination for Custom Taxonomy Page [duplicate]
- Pagination on with query_posts in custom post type template
- Custom taxonomy rewrite give pagination 404
- Woocommerce search pagination not working
- How do you paginate a query grouped by month?
- Pagination issue on category.php using custom post type query
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- can these 3 queries be re-written as 1 query?
- pagination not working for category.php (custom post types in categories)
- Custom WP_Query always respond with 200 status even when no entry
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Trouble with pagination
- Pagination 404 on Index with custom query
- Custom post type and custom taxonomy 404 on page 2
- Pagination for search results of custom post type [duplicate]
- Custom Post Type Archive Pagination
- All blog posts are not showing up
- Single parent post lists child posts with pagination
- Custom post type pagination error
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- custom taxonomy pagination 404 error
- Pagination in custom post type archive.php not working
- Pagination Not Working When Used With WP_Query() `offset` Property
- Numeric pagination custom post type
- Problems in paginate_links with custom query loop and MB-Relationships
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Make pagination work as a carousel (custom query)
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- why custom post archive gives always no more than 10 posts despite of paging settings?
- query and paginate multiple post types
- Custom post type blog pagination conflict
- Custom post type pagination, single page issue
- Pagination always adding “Next” link when results come from Custom Post Type WP_query
- Paged within a custom content type template [duplicate]
- Pagination not working on homepage
- send user to first page of results when reposting to page?
- Fourth page of custom post type archive page does not exist
- Pagination broke after updateto WordPress 3.4 [duplicate]
- Search multiple custom fields by using meta_query
- Pagination with custom loop
- Group list of posts by taxonomy and allow for pagination
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- Set default option in dropdown of WP_Query?
- Custom WP_Query not returning results when querying custom post type
- CPT: if more than X images are in post, use pagination
- Display CPT posts based on specific taxonomy
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Prioritize posts in query by meta keys?
- Possible to filter custom post type with multiple meta data?
- Loop increase number
- Custom filter for main search: how to exclude specific post_type from search results
- Is This Code Efficient – Or is there a better way?
- Inefficient Query Confusion
- Shortcode with WP_Query more than once on one page
- Creating a Tabbed Widget
- Difference between page and paged
- Using WP meta query to show custom post types by a start and finish date
- How do I list a custom field and custom taxonomies for each result in a loop?
- Find Posts based on Child Post value
- Pagination links for custom post type shows correct number of links, but links result in Page not found
- Query custom post type that has a serialized relational advanced custom field value
- build child and anchestor three from post parent
- How can I query and sort custom-post type using WP_Query
- Custom query result empty on page 2
- Custom Post Type canonical link / pagination redirecting to root
- WP_query sort by taxonomy
- Custom Field as Custom Post type element class
- Display posts on parent post if author coincides
- Paginate Custom Post, Old and New buttons not displaying
- How to get Current week and current date record wp query
- Error in WP Query. If variable is empty it is displaying previous post value
- Pagination in custom post type page template
- Modify shortcode to work with custom taxonomies and slugs
- Query posts from multiple post types sorted by overarching menu order
- WP Query Post Type with same Taxonomy name
- next_posts_link returns same content of 1st page
- Get images only from a certain post type
- Default WordPress Query for a Specific Custom Post Type URL
- Custom post type pagination conflict result in 404
- Dynamically count the number of custom post types associated to a custom taxonomy