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

learn more… | top users | synonyms (1)

1
vote
1answer
25 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
20 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 ...
0
votes
1answer
16 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
41 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
36 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 ...
0
votes
1answer
21 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
18 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
11 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 ...
0
votes
0answers
10 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
55 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
26 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
39 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
18 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: ...
1
vote
2answers
266 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: ...
0
votes
0answers
68 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
95 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
24 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
39 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
26 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
64 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 ...
0
votes
1answer
45 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 ...
0
votes
1answer
38 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 ...
1
vote
0answers
79 views

paginate_links() and ajax

I've got a working query with working pagination but I would need to load these pages via ajax. Here's a simple demonstration: Question: If: default page is www.my-site.com/search/ second page ...
0
votes
1answer
37 views

Default pagination in Home/Front page

I am using my home page to show all my posts. Therefore I use WP_Query. When I click on the pagination, the url changes but not the page content. This is my code, <?php $paged = ...
1
vote
1answer
25 views

Complex query and posts pagination

I have this complex posts query, but I cant get the page navigation to work, been trying for hours with no luck, what am i missing? $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ...
0
votes
0answers
13 views

Pagination giving to many pages

trying to find solution for wordpress pagination. I'm trying to query only parent post but pagination giving to many pages. I think it tries to paginate and child posts. My post query and pagination ...
1
vote
2answers
49 views

Pagination Not Working on Category.php page

My site is enerating some code for older/newer posts on the category page, but when you click "older" the link does not work. it is generating /blog/page/2 from /blog/ Tried a few plugins (WPnavi, ...
0
votes
1answer
70 views

The pagination on index.php doesn't work on a first page

I have index.php with a pagination. The permalink settings is plain permalinks. I have a correct pagination view when I open a page '/?paged=2' but if I open just index.php I have all posts without ...
0
votes
0answers
26 views

paginate_links first page custom link

I have a problem. I have a blog and I have a pagination on this page. We are using paginate_links() for pagination. The question is how can I set custom link to first page of the pagination? Is it ...
0
votes
0answers
71 views

Is 'pm' used by core?

We've a private messaging system that uses the page slug pm. It lists messages. Recently, we noticed that pagination stopped working on this page. So going to page 2 gives a page not found error. ...
1
vote
0answers
31 views

How to paginate with letters instead of numbers?

I'm developing a CPT plugin. The plugin is programmed so that when you visit the CPT, you see a custom template also included in the plugin. I've taken Jan Fabry's code but can't get it to work. I've ...
0
votes
0answers
34 views

Custom Post Type - shows pagination (w/404) or posts_per_page query, not both

I have a custom post type of 'gallery', and I'm using a template for the archive of 'page-student-gallery.php'. My admin settings for posts shown is 5, I'd like it to show 9 on this page, of just ...
1
vote
0answers
25 views

Pagination inside of a edit page

I looked all over for this and could not find the answer I have two custom post types one is named 'venues' and the other is 'events' every 'venue' has multiple 'events' relating to it. I have a ...
0
votes
0answers
17 views

Pagination Problem Same Posts Loads

When i click on 2nd page the same data loads as iam loading on first its not changing. Iam using this function to work with pagination function get_pagination($atts, $the_query) { if ...
0
votes
1answer
38 views

3 wp_query on one page with pagination for last query

I am trying to create a page with three wp_queries. The first query pulls the first 2 articles of a given category, the second pulls the next three from the same category (offset 2 in $args) and the ...
1
vote
0answers
21 views

Category lists page foreach Paging

I use the following code shows the classification of the article with a list of all the category list on the page template, but such a page will be displayed all categories. I hope one page displays ...
0
votes
1answer
27 views

Pagination, query more pages at once

I'm wondering if it is possible to do such thing on Wordpress, I have an infinite scroll to display my posts, I'm keeping track the pages updating the url: mypage.com/news/?pag=3 and I have a code ...
1
vote
1answer
96 views

Pagination with 5 posts per page

I'm trying to create a paginated list of posts, and have used the Codex to write some code but I appear to be doing something wrong. These are my wp_query args $paged = ( get_query_var( 'paged' ) ) ...
0
votes
1answer
43 views

404 Pagination issue for only one category

I'm facing a weird issue. Pagination is giving 404 error for only one categories. Others are working fine. I used Latest version of WP and Genesis Theme . I tried change that specific category slug ...
0
votes
0answers
17 views

Empty pagination pages

I have a category file called category-exhibitions.php where I loop the exhibition category. Now I need the pagination there also, I am trying this but it gives me blank pages when I navigate to page ...
0
votes
1answer
31 views

offset and max_num_pages in pagination gallery

I rewrote the code galleries and stopped at the pagination. How can I get the maximum number of pages? at the moment I can not define it, and put a test for the number 5. (Here "for ($ i = 1; $ i ...
0
votes
0answers
78 views

Pagination for ajax category filter

I created an AJAX category filter for a custom post type with custom taxonomy. 1)It's working but can't figure out how to add pagination for the custom taxonomy once it filters. When I click on ...
0
votes
2answers
41 views

how to get pagination link url?

how can I get pagination link url instead of maked up anchor link? currently I used <?php next_posts_link(); ?> <?php previous_posts_link(); ?> for pagination but it return a, I want ...
0
votes
0answers
29 views

Genesis custom archive template not showing pagination

I've created a few custom templates for my genesis theme and I cannot get the post navigation to work. I've spent many hours looking and trying code to no avail. Any help would be great. Here's my ...
0
votes
1answer
26 views

Custom pagination (Previous / Next)

So I'm working on a custom pagination following code: <?php if ($wp_query->max_num_pages > 1) : ?> <?php $next = get_next_posts_link( 'Previous', $the_query->max_num_pages ); ...
0
votes
0answers
39 views

Pagination works only at two pages

Pagination is only works at the first page and the second page. If I go into the third page I get a 404 error.. Any ideas? This is my archive-aktualnosci.php page: <?php get_header(); ?> ...
0
votes
0answers
44 views

Filter and paginate custom post type

I'm working on a directory of clinics. At the moment users are able to: search clinics (cpt) by address and treatment order by distance and price filter by services (wifi, parking, ...) I have a ...
0
votes
1answer
65 views

I can't fetch query parameters ($_GET parameters) with get_query_var

I am developing pagination for a list of posts in my plugin. I've added a custom parameter in my plugin_functions.php file: add_query_arg('pworkspage', 1); As you can see it defaults to "1". Now, ...
0
votes
1answer
19 views

Search pagination link redirecting to a link that doesn't work with pagination

I have my search set up with a page called 'search' and a template called 'searchpage.php'. When I visit 'domain.com/search?s=term' the URL changes to 'domain.com/search/?s=term' To solve this and ...