re 2. two loops, one pagination link:
remove the individual paginations;
add this at the end:
$max = max($ideas_query->max_num_pages,$opinions_query->max_num_pages);
if (function_exists('custom_pagination')) {
custom_pagination($max,"",$paged);
}
Related Posts:
- Pagination not working with custom loop
- Have different number of posts on first page
- wp_pagenavi() with custom wp_query()?
- Custom Post Type Pagination Not Working On Archive Page
- Custom Post Type Archive Page: Set Posts Per Page, Paginate
- Archive page…limiting posts per page
- Pagination go to first page if i’m on last post
- Posts in Multiple Columns and Rows with one single loop
- Newer/Older posts links display same posts on every page
- Group search results by post type, but hide post types with no results
- Fix custom query pagination without changing site-wide posts-per-page settings
- Pagination with custom post types results in 404 issues
- Integrating Orbit slider into wordpress through custom post type
- How i can add ‘N’ page of ‘N’ pages under posts loop?
- How to display all posts from standard posts to custom post types in a loop with pagination?
- Paging doesn’t work?
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Return the latest post from a custom Taxonomy and Post Type
- Custom Theme With Custom Loops
- Custom Post Types strange pagination problem
- pagination not working for category.php (custom post types in categories)
- Pagination Error : Duplicate argument being outputted
- Custom WP_Query doesn’t display all posts
- Two column layout with alphabetical ordering
- WP_Query with custom post type ID
- Pagination doesnt work in custom post type
- Assign a template to a custom post type when displayed by the main loop on the home page
- Custom Post type content within a slider
- Custom Post Type, Pagination and 404s?
- Custom post type pagination error
- How to Enable Ascending or Descending In WordPress Default Built-in Loop
- Custom archive page for custom taxonomy and pagination issue
- How to display posts from a certain category in a bootstrap 5 carousel loop with multiple items?
- Loop all post on single.php
- Custom post type paging return home page
- Pagination not working in custom post type. Help
- Pagination Not Working When Used With WP_Query() `offset` Property
- Add extra elements to the_post in a custom post_type
- Custom Post Type has wrong label and is not found when called by a loop
- Why is my loop not populating the page with my custom taxonomy terms from my custom post type?
- next_posts_link() always generates second page link on custom post type
- Custom post type with custom taxonomy permalinks
- How to Fix Custom WordPress Loop with Pagination on Single Post View?
- Custom taxonomy page template
- Cant insert wrapper div into index.php
- Pagination on custom post types
- Pagination in custom post type page template
- Custom post type archive pagination with HTML5Blank theme?
- Pagination not working with custom loop
- Create custom post order (with custom post type meta)
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Fourth page of custom post type archive page does not exist
- How to create custom page templates with default page layout framework?
- Unable to display paging navigation with a custom post type loop
- WordPress search results grouped by post type
- WPNavi pagination links not working on custom pages
- Query Multiple Post Types and Paginate Newly Created List
- What’s the difference between same wp functions get_posts(); functions in different form?
- WordPress Genesis custom taxonomy archive shows 3 repeats of each post
- How can i change the output of posts_nav_link();
- Pagination on a custom post type loop
- paged > max_num_pages won’t throw 404
- One-to-many post relationships that are displayed by category (using posts-to-posts plugin)
- How to alter WP-JSON main query or best practise for custom endpoints
- WP_Query orderby modified to include custom meta changes
- Custom Post Type Loop throws 500 error when used in widget
- Am unable to reset a query properly
- Pagination is not working in custom post type
- get_attached_media() on author page not working
- How to make sure content doesn’t display if selection is empty
- What template files do I need to customise custom-category-term-links rather than fall back on archive.php?
- Show one item per category of a custom post type
- Page vs Custom Post Types Differences/Issues
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Meta Key Value in current-user-only loop
- Calculate all custom field values in the post loop
- CPT + CMB2: data not displaying for only first post in loop
- Get next and previous 3 posts in a term in single post page
- Previous/Next Link by Meta Value in CPT
- Custom post type not displaying all entries
- Custom post type (with parent-child relationship) singular page with pagination
- Loop custom taxonomy to get lists of cutom post types?
- Pagination for Custom Taxonomy Page [duplicate]
- How do i calculate the total of values of custom fields in custom post types?
- Pagination on with query_posts in custom post type template
- Get term name and term parent into custom post type permalink
- Multiple Loops On Custom Post Type Template?
- Custom loop with multiple taxonomy queries
- I would like to have different styles for my posts based on the content of each post
- Checking if Post Title is Unique as Loop Criteria
- Custom post type not displaying content from single-{custom post type} page
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Pagination of Custom Post Types not Changing Posts
- Custom post type multiple loop by taxonomy term
- Help need making decision. Ads rotating site on wordpress
- List custom taxonomy specific to one custom post type
- Query & Order posts by custom fields