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

learn more… | top users | synonyms (1)

1
vote
1answer
88 views

Custom Post Type Pagination Not Working On Archive Page

I've spent the last 3 hours trying to get pagination to show up on my custom post type archive page. I sort of understand that pagination only works with a default loop and once you modify the loop, ...
3
votes
1answer
80 views

Pagination gives 404 in template

I have a page in 'Pages' called 'News'. This page has a template containing my paged custom WP_Query. Here's the code: <?php $paged = 1; if (get_query_var('paged')) { $paged = ...
1
vote
0answers
67 views

Is it possible to to use custom post type types on a page with the same slug somehow?

That is ancient issue, but I still have no idea how to do that correctly. I want to to use custom post type posts on a page with a slug which is the same to that custom posts type rewrite slug. ...
0
votes
2answers
80 views

Pagination Not working on Home Page with 2 Query

I have two loops in home page (index.php) <?php $args = array( 'post_type' => 'post', 'posts_per_page' => 3, ); $another_query = new WP_Query($args); if( $...
-1
votes
1answer
41 views

Pagination 404 on my index.php

I'm trying for days how fix pagination on index of my wordpress site. Pagination work great on category and other archive but doesn't work on my index clicking on the page numbers have a 404. I found ...
0
votes
1answer
41 views

Pagination For Page Post Type

I try to use the Eric Meyer's pagination codes to make it working for page post type, but unable to figure out how to make it working. It's always show the first page. Here is the codes: <?php /* ...
0
votes
1answer
74 views

WooCommerce custom loop pagination on front page

I'm having custom page template that I use as front page of my theme. In that page i have section which lists woocommerce products using custom loop. I want to insert next posts pagination to that ...
0
votes
0answers
47 views

ajax load more for comments

i want load more function on comments section like this plugins http://comments.connekthq.com/example-post/. Example. 1st time 4 comments will show then load more button. after press load more again ...
-3
votes
1answer
35 views

What does this if-statement do?: if($pages=' ') {}

This is an excerpt from a tutorial on how to create pagination for an blogpost overview page. What does the first part if($pages == '' exactly do? Quote from tutorial: Now we know which page we ...
0
votes
0answers
63 views

WordPress multiple loops on home optimization

I am running an News Website based on WordPress with several plug-ins, including W3C Total Cache on my VPS (Nginx + PHP-FPM) server. The code of our home.php is: <!-- STICKY POSTS --&...
0
votes
0answers
30 views

Pagination custom post type & custom taxonomy

I'm having a problem with my pagination for the category page of my custom taxonomy. This page displays custom post types on the first page of the category. But when I try to go to the second page, it ...
-1
votes
1answer
78 views

Pagination only working on index page not on a template page

I have a pagination that works perfectly fine on my homepage, the code goes: <div class="articles"> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ...
1
vote
1answer
56 views

Pagination Issue - /page/2 404

I have a custom post type with it's own archive page. I'm running a custom loop, displaying 1 result. I'm trying to paginate these results, but I'm having some strange issues that I can't seem to ...
0
votes
0answers
34 views

Pagination on Front Page

I'm having an issue trying to get pagination to work on the homepage of a site I'm working on. The "Older" and "Newer" links show correctly, and it updates the url to reflect the page number but the ...
0
votes
0answers
32 views

WP Pagenavi showing only the first two pages without error

I'm trying to show a complete list of the posts, so I included pagination. The problem is that only it's possible to access the first two pages. If I try accessing the 3rd page(/page/3) for example, I ...
0
votes
1answer
15 views

How do I override all theme pagination throughout a site?

I have a site that lists vehices for sale. One page is a stocklist which shows 6 entries per page as standard. The news page also has this function. Is there a simple way of overriding all ...
0
votes
0answers
38 views

Automatically Paginate Posts after specific number of words

I want to insert <!--nextpage--> (for paginating posts) after a specific number of words, and I want it to keep inserting the tag until the post ends. There is a plugin which does a similar ...
0
votes
1answer
91 views

2 Loops on one page - pagination of 2nd loop ignore array of excluded posts

I have 2 loop on one page. First one shows 11 recent posts in rand order and pushes each post ID into do_not_duplicatearray. $argsRandom = array( 'numberposts' => 11, 'fields' => 'ids' ...
0
votes
0answers
25 views

Conditional for last page of posts are paginated

I'm working with a Genesis Framework based theme and trying to display some additional information (using ACF) after the content of the post. All works fine with that. The part I'm having trouble ...
1
vote
0answers
73 views

Wordpress custom post query with pagination

I know this is a common issue and there are many solutions out there. Fow showing custom post with WP query , I use a a snippet like this <?php $temp = $wp_query; $wp_query = null; $...
0
votes
0answers
17 views

Adding A Title To Post Pagination

I have a really really long post. I am using post pagination ("alt+shift+p" or ""). This works and adds page numbers to the bottom of the post and allows me to add pages, but i want to add a specific ...
0
votes
0answers
33 views

I don't understand de function .get_pagenum_link in Pagination

I'm having troubles getting the right pagination in my site. I think it is because the function .get_pagenum_link The URL that i get from the pagination function is something like mysite.com/...
0
votes
1answer
60 views

Pods pagination erases my sub menu

I've build a taxonomy that holds the categories of a custom post type. This is going to be used to create a sub-menu called categories that is a filter to generate all the custom post types that have ...
0
votes
2answers
132 views

Lazy Load using WP_Query pagination

I've been thinking of using WP_Query's pagination to make a custom lazy loading. is there a way to utilize the WP_Query's pagination for a lazy load? Say for example, I have to load 24 posts in the ...
0
votes
1answer
295 views

WooCommerce - Customer Order History Pagination

I'm trying to implement pagination into WC's customer order history that can be seen on the "My Account" page using woo_pagination(). https://docs.woothemes.com/document/woo_pagination/ The template ...
0
votes
0answers
13 views

Pagination doesnt work for first 19 pages

I have this straightforward pagination form that used to work just perfect: function theme_pagination() { global $wp_query, $wp_rewrite; $wp_query -> query_vars['paged'] > 1 ? ...
1
vote
1answer
105 views

Two custom loops, pagination, offset

I have two Loops using WP_Query. The first loop shows X posts. No pagination. (loop A) The second loop shows Y posts. With custom pagination. (loop B) It kinda works; but you can see the second ...
1
vote
1answer
49 views

Pagination causes error 404 when used with front-page.php

I am creating front-page.php. This page will display the latest featureed posts, and will also have pagination option to go to the previous featured posts. I wrote the code for frontpage as follows $...
0
votes
1answer
100 views

How to remove /page/2/ from home page?

First of all: I don't understand the meaning or the action that http://myurl/page/2 does? I checked the Net tab in Firebug and saw that my page takes more than 3 seconds to load /page/2... but I don'...
0
votes
1answer
63 views

Alternative layout the loop

i'm trying to make an alternative loop as found here on stackexchange, it has been a great help to what i've achieved so far, but i'm stuck now. The goal is to make the newspage look like this The ...
0
votes
2answers
119 views

Pagination in plugin with custom post type

I have several custom post types (created through CPT UI plugin). I want to display posts from these post types on my page, for example "News". I've created a page and inserted in it shortcode [...
4
votes
1answer
57 views

Paged Single Post doesn't redirect to the main url after Removing Pagination

I used <!--nextpage--> (Codex) to paginate (split) a few single posts. Now i removed all the nextpage html parts from the posts. everthing looks fine. Unfortunately the old urls like sample....
0
votes
1answer
74 views

wordpress custom search page pagination returns 404

I have made lot of research and have tested lot of recommended codes, but still can't find the right way to make it work. Pagination links not working. It is navigating me to the 404 page (nothing ...
0
votes
1answer
26 views

Translating a pager string

Most of Wordpress function found in themes look like this: <?php echo get_next_posts_link( 'Older posts', $the_query->max_num_pages ); // display older posts link ?> <?php echo ...
0
votes
0answers
24 views

Custom Post Type Pagination - Pagination seems linked to amount of standard posts [duplicate]

I am having a strange issue with pagination of custom post types, the pagination works but will only paginate up to the maximum number of standard posts. For example: I have 10 'operator' posts and ...
0
votes
0answers
17 views

404s with /slug/page/2/ vs. /category/slug/page/2

All of my category pages seem to have the default URL of /slug/, so when I include them in my site's navigation menu, Wordpress renders the links as /slug/. So, the pagination links on the page /slug/...
0
votes
0answers
14 views

dynamic table for post?

I want to display a list of items with pictures and a short description in a table on a wordpress page. The problem is that I want to the main future editor to be able to add new items at the start ...
1
vote
0answers
64 views

Update to 4.4.1 breaks my pagination

Hi, I recently updated to 4.4.1 and I noticed my pagination was screwed up. I cant go to page 2 or further because all it does is going back to the home page so I had to go back to a previous version ...
0
votes
0answers
36 views

Wordpress 4.4 Update - Paginated Overview pages show always same results

I have an issue with WordPress 4.4. Since the upgrade my page is repeating the overview pages: https://www.bbx.de/ https://www.bbx.de/page/3/ This is the functions I am having in my functions.php: ...
1
vote
1answer
138 views

How to display all posts from standard posts to custom post types in a loop with pagination?

I have several standard posts and posts from a custom posts type. Now I want to display all of them on my home page using a loop. My problem is that it displays the posts including the posts from the ...
0
votes
1answer
47 views

remove $_GET-parameter from WP_List_Table::tablenav

I'm using URL parameters as actions links within a custom WP_List_Table for users like so: http://domain.com/wp-admin/users.php?page=account-expiration-status&do_action_xyz&email=email%...
1
vote
2answers
320 views

How to remove WordPress category from URL and have a custom pagination parameter/rewrite?

I'm trying to remove the Category URI from the WordPress URL and have a custom pagination rewrite. I'll explain exactly what's happening below: So I have a blog. We have two (main) categories: "bar-...
0
votes
0answers
101 views

Pagination doesn't work on static front page

Static front page pagination working fine on localhost. but when i uploaded the to server online its not working. i am using infinite scroll. the issue is only with static front page, when i don't use ...
1
vote
1answer
122 views

Page navigation not showing even tho it should

EDIT: I replaced the pagenavi which is not native to wordpress with the_posts_pagination. Now i get no pagination at all, it just shows the 4 posts how it's supposed, but no pagination (yes i have ...
0
votes
0answers
40 views

Keeping checkboxes checked WP_query

I have wp_query that allows the end user to filter the query using checkboxes. This works fine until pagination, all the user checked checkboxes get cleared on page 2 how do I get checkboxes to carry ...
0
votes
0answers
50 views

WordPress prev next button in frontpage

Hi I have working pagination but if I'm using in static/frontpage prev and next button not showing or not working properly. If I add max num pages in next button it's showing but always going second ...
0
votes
0answers
60 views

Adding Pagination to a Custom Wordpress Page Template

I have been playing around with the Resi theme, trying to see if I can add pagination with a few tutorials I have seen online. To date I have only been able to get the pagination to load, with the ...
0
votes
0answers
90 views

Numerical pagination not working with permalink change

I have some issue in numerical pagination. Pagination work when permalink setting set plain but when I change permalink "Plain" to "Post name", pagination not working. When I click on any number it'...
0
votes
1answer
145 views

the_posts_navigation is not working

Unfortunately, the_posts_navigation function is not working for me. When I click on 'Older Posts' it's showing '404 page I don't know why my code is not working. Here is the code - <div class="...
-1
votes
1answer
86 views

How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?

So I made some custom posts and taxonomies.. http://example.com/?product_category=mytaxonomyterm&lang=it Till here, all fine: I get a 'mytaxonomyterm' taxonomy archive. Btw, lang is because I'm ...