Breaking up content into smaller-sized pages to be viewed individually

learn more… | top users | synonyms (1)

0
votes
0answers
22 views

Main page paginate_links issue

So, I found out what the problem is with the frontpage pagination issue. i have woocommerce products listed on a main page which has pagination. However, it was repeating the first page. I changed ...
0
votes
0answers
53 views

Pagination calling 404.php

I tryed to ask my question on wordpress.org but nobody was able to answer me and this is pretty important to skip it so i try here: I have an index.php with 4 differents loops and a pagination on the ...
0
votes
0answers
65 views

Pagination not working in custom post page

I have this theme that I created which is a mix of code copied and mixed from different themes, and I have a custom post page in the theme where pagination isn't working for some reason. <div ...
0
votes
0answers
77 views

Wordpress pagination broken on blog page, working for search results page

My main blog page, and search keyword and category filter pages all pull in the same loop-blog-grid.php template, therefore all pull in <?php themeple_pagination(); ?>. The issue I'm having is ...
0
votes
0answers
48 views

2 loops with pagination on a single loop

On a page I want to always show the most recent post on top with a different layout, and have the rest of the posts listed below. So I created a template page with these 2 loops. But I cannot figure ...
0
votes
0answers
58 views

Advanced Field Repeater Pagination with Custom Post

I am using a custom post type as well as advanced custom fields with a repeater. I need to somehow loop through all the repeater subfields and paginate them to 6 items per page. I have tried a few ...
0
votes
0answers
15 views

WordPress category pagniation not working

I am trying to add pagination to category the URL comes out in the format as /category/cross-stitch/page/2/ but nothing shows on the page its going to 404. My code is below, which works for pagniation ...
0
votes
0answers
43 views

Pagination breaks custom sub menu

I've got the following class which allows me to make a specific sub menu. class Custom_Walker_Nav_Sub_Menu extends Walker_Nav_Menu { var $found_parents = array(); function start_el(&$output, ...
0
votes
0answers
17 views

Daily pagination

How i can create daily post pagination? I tried something like this, but server respond me 404 error: <?php // Global global $wpdb; // Sql query $query = "SELECT ...
0
votes
0answers
36 views

Pagination on Custom Post Types filtered Archive Page not working correctly (jumps to the first Post)

This is my Custom Post Type "newyork": add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'newyork', array( 'labels' => array( ...
0
votes
0answers
40 views

WordPress Pagination/paged Problem

I'm having trouble with WordPress pagination/paged. I've tried to fix this for a while now using different queries and settings but to no avail. Also done a lot of Googling. Below I've copied the ...
0
votes
0answers
41 views

How to display data with pagaination on backend?

I am new with WordPress development so I have no idea how to do this functionality with WordPress. I got one task to display some data from database and have to display records with pagination(Just ...
0
votes
0answers
51 views

WP_Query with meta_value_num and meta_query not paged correctly

I have a strange thing with my WP_Query, where isn't paged correctly. $args=array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => $limit, // 10 ...
0
votes
0answers
134 views

Error 404, pagination in custom query for permalink category/postname

I have trouble using custom query to paging my category posts. here's the situation. I set my permalink as %category%/%postname%, I am using very standard function paginate_links( $args ) $args = ...
0
votes
0answers
115 views

How to show only Next and Previous Buttons WordPress wp_link_pages

I've been trying to resolve this issue. what i'm trying is to show Next and previous button only. Till yet i got <?php $args = array( 'before' => '<div ...
0
votes
0answers
63 views

How to paginate custom query in functions.php?

I have a page with content filter. This filter do AJAX call to query in functions.php: function load_ajax() { $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( ...
0
votes
0answers
43 views

Pagination custom post types outside loop

Because of speed / SEO reasons I'd like to load my custom post types as pagination ([1][2][3][4] etc). I have a page called apps and load all custom posts from apps. I'm using currently this code to ...
0
votes
0answers
60 views

Blank page with custom loop

in my WordPress theme with two custom loops there is always one blank page at the end when I page through the content. E.g. when I actually have only three pages filled with content, I can access a ...
0
votes
0answers
25 views

How to use screen options with ajax pages?

How can I use screen options with backend ajax pages? Here is the code. I want to create pagination in AJAX pages. However $screen is null. $user = get_current_user_id(); $screen = ...
0
votes
0answers
41 views

Custom pagination for custom page, how?

So. I have a custom page, where im using two shortcodes for a plugin that fetches rssfeeds, WP Rss Aggregator. It creates two columns with feeds, and both of these feeds have pagination, both columns ...
0
votes
0answers
113 views

Custom Post Type Pagination Not Working or Single Posts Displaying?

I want to create a page to display all the 9 recent posts within that custom post type. (this is where I'm getting confused) I've called the page template page-podium.php ( my custom post type is ...
0
votes
0answers
46 views

Custom table loop with pagination link issue

I have a custom table in WordPress and trying to listing records with Pagination. With below code, I able to create pagination but only problem is when I click on page 2 than all links will stay on ...
0
votes
0answers
166 views

404 error Custom search results page for custom post types with friendly URL

Seen a lot of people with same issue, but no solutions have worked for me, so maybe I'm mislooking something. Page 2 of a custom results page gives me a 404 ( /search works, /search/page/2 doesn't). I ...
0
votes
0answers
63 views

Paginating custom query on category template

I'm trying to paginate my custom post types on my category page template but for some reason when I trying to navigate to 2nd,3rd,4th etc pages it will get re-routed to the index page. This is the ...
0
votes
0answers
61 views

Wordpress Pagination Not Working After Transfer from Localhost

I have the following code for wordpress pagination: function sds_pagination(){ global $wp_query; $big = 99999999999999; echo paginate_links(array( 'base'=> str_replace($big,'%#%', ...
0
votes
0answers
109 views

Infinite Scroll on homepage not working

I'm having a bit of an issue. I have installed the Infinite Scroll plugin and am having issues with it. Firstly, all it says is "No Additional Posts" when, in fact, there are additional posts. I ...
0
votes
0answers
28 views

Display Pagination on Table

I have written the code below: <?php $ListTransfer = $pwtw_db_connect->get_results ( $pwtw_db_connect->prepare ( 'SELECT * FROM donation_bank WHERE trans_wp_id = %d AND trans_svr_region = ...
0
votes
0answers
23 views

How should I setup a special series on my blog?

I am not a full-fledged WP developer. But I know how to do basic PHP functions and get stuff working the way I want. However, I want to do a special series on my blog, that will last the next 3-4 ...
0
votes
0answers
49 views

Search page Paginations not working

This is what I use in all my other pages that require a pagination. <?php endwhile; ?> <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ($total_pages > 1){ ...
0
votes
0answers
126 views

Multiple Loops on category.php with pagination on last loop

I'm trying to achieve what should be fairly simple but I've hit a brick wall when trying to paginate the last of three loops on the category.php template. I've read just about everything I can find on ...
0
votes
0answers
25 views

how to place page navigation on a specific page at the end of posts from specific category in thesis theme

In single page of wordpress site I am trying to show 10 posts from a specific category. At the end of the list of 10 posts I want to show page navigation so user can navigate to old posts of this ...
0
votes
0answers
45 views

Custom post type slug rewrite blocks pagination - how to solve this?

I have run into a problem while doing what was given as a solution in the following thread: Remove Slug from Custom Post Type Namely, after all of this being done, my pagination no longer works. As ...
0
votes
0answers
72 views

Split a long form into multiple pages 2

this is a question as a followup to this discussion: Split a long form into multiple pages In essence: I have a long form that gets submitted. I need to change this to a multipage/multistep form over ...
0
votes
0answers
52 views

Help paginating custom loop

i'm trying to add some sort of "load more" button every X posts in this loop: <?php if(is_home()) : ?> <section class="pages clearfix"> <div ...
0
votes
0answers
45 views

Paginate User Query

I am trying to write a simple shortcode function that will return a list of users based on a given meta value. It functions fine, but I am trying to paginate the list. Here is my code: function ...
0
votes
0answers
56 views

Wp pagination link at front page with custom post url get rewritten

I am facing a typical problem. I am using a custom template as my front page and.And there I am displaying the custom posts with a custom pagination function and loop. Now the problem is that my loop ...
0
votes
0answers
56 views

Some questions regarding post-types and pagination

I've built my own theme from scratch using the HTML5 Blank Framework My problems started when I added 3 differen post-types; Work, 50mm and Findings. I've hided the standard 'Posts' type, so that I ...
0
votes
0answers
73 views

Custom Gallery With Pagination/Navigation

With the help of someone I have created a custom gallery script, which picks all images with the slug x and presents them just fine, e.g. "people" (custom taxonomy). My problem is now, that I do not ...
0
votes
0answers
63 views

Using offset with custom Archive page

Situation: News page - Currently shows the latest 5 news items Archive page - Starts on post 6, I've setup pagination. For testing purposes I've got 20 posts numbered 1 - 20. <?php ...
0
votes
0answers
81 views

query and paginate multiple post types

I'm looking to query multiple post types and paginate them so the results are across multiple pages. The markup I have is as follows: <?php query_posts( array( 'posts_per_page' => 100, ...
0
votes
0answers
68 views

Pagination - show exactly 3 posts per page

I'm already familiar with wordpress pagination but I was wondering if this is possible: Lets say I have 4 posts and I want to show only 3 posts per page. Is there a way to make the first page show ...
0
votes
0answers
110 views

Redirect File Custom Post Pagination Problem

I've created a custom taxonomy type ( gallery-type ) for gallery post type! But, I didn't create for taxonomy-gallery-type.php in my theme folder, but I redirected to another php file from theme ...
0
votes
0answers
87 views

problem in taxonomy-{taxonomy}.php pagination

my custom taxonomy is: $image_labels = array( 'name' => _x( 'تصویر', 'Taxonomy General Name', 'text_domain' ), 'singular_name' => _x( 'تصویر', ...
0
votes
0answers
68 views

How can I remove page slug for all pagings?

I want to remove page slug for all pagings. For home page Old: www.x.com/page/4 New: www.x.com/4 For Category page Old: www.x.com/category1/page/4 New: www.x.com/category1/3 How can I ...
0
votes
0answers
388 views

Issue with pagination() get_pagenum_link() and language permalinks

I'm quite new to Wordpress and php. I managed to put up a site running on three languages with a plugin called "qTransalte" and a theme that had blog posts, slide posts, portfolio posts and highlight ...
0
votes
0answers
92 views

Custom pagination function: limit number of pages

I would like to limit the number of pagination links because I fear that as more posts are added, I would end up having dozens of page links at the bottom of each category loop. Here is my code: // ...
0
votes
0answers
312 views

Using WP_List_Table and search_box(): How to Paginate the Found Search Results When Sending by Method «Post»?

I am using a custom WP_List_Table-Class in order to display a custom table with hotels in the dashboard. I can skip through the pages with the pagination on the top right as expected. The search form ...
0
votes
0answers
34 views

Pagination Being Removed From URL with a Custom Loop

I'm having a little trouble with enabling pagination for one of my custom post types. Basically, I have a CPT of 'surgeons' which lists (surprisingly!) a surgeon - on their single page, I'm wanting ...
0
votes
0answers
260 views

Search results pagination not working with custom query

The first page of search results for a custom query work fine but from page 2 it only shows the index template and says page not found. I've looked around for solutions but none have worked so far. ...
0
votes
0answers
31 views

Pagination issue for pages with multiple categories

I want to display in a page posts from multiple categories, but it doesn't paginate. $extra_posts = new WP_Query( 'cat=5,7,24&posts_per_page=3&orderby=date' ); if ( ...