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

learn more… | top users | synonyms (1)

0
votes
1answer
53 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
33 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
20 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
85 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
127 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
45 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
75 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
64 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
68 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
32 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
23 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 ($atts['...
0
votes
1answer
55 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
30 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
28 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
310 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
75 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
37 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
63 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
194 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
157 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
93 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
38 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
88 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
94 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
158 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
26 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 ...
0
votes
0answers
81 views

Pagination in plugin's backend

I am displaying a list of posts in the plugin backend but I can't seem to get the pagination to work. I used the standard approach of getting the "paged" variable and then passing it to get_posts()'s ...
0
votes
0answers
15 views

Filter paginated post

I'm tring to build a directory of clinics. I'm already able to search by location and treatment, filter results (clinics) by services (wi-fi, parcking, ...) and paginate them. http://www.decaneva.it/...
0
votes
0answers
69 views

.html and pagination for custom post type and category

I have a problem. I stand on the site of wordpress and I need to keep the URL. On my old site at the end of pages, of records, categories were .html extension. I have default permalink in wordpress /...
0
votes
1answer
34 views

Use cookies in pagination

I am having a problem with cookies. I am using page breakers for long content post. I initialize a cookie with value 1 once you are reading the post. For each page breaker or let say page (from ...
0
votes
1answer
63 views

WordPress /page/2 404 pagination problem - what to do?

I came across the /page/2 404 pagination problem and tried to find a solution. I've read some suggestions, but it didn't help yet. Working: http://pandasnacozinha.com.br/bolos-doces-e-sobremesas/ ...
0
votes
1answer
18 views

Conditional pagination li's

I've noticed that must paginations in Wordpress are constructed like this: <nav class="post-nav clear clearfix"> <ul> <li class="previous"><?php echo ...
0
votes
0answers
33 views

Get list of child categories with pagination

I have 9 child categories which I am displaying on a parent category page with pagination. I set 5 categories per page, so for 9 categories it should be 2 pages (i.e. page/1 and page/2), but for me it ...
0
votes
0answers
128 views

How to add rel=“next” & rel=“prev” in <head> dynamically?

I need to add link rel in the <head> section of each page if my current page url is http://xxxx.com/yyy/by-size.html/1/ then i need to add following link rel in head section <link rel="next" ...
2
votes
3answers
271 views

How to disable content pagination?

I want to totally disable this functionality from WordPress because I'm implementing my own version of this with Javascript. When I try to grab all the content in a post via the get_the_content() or ...
0
votes
0answers
28 views

Pagination issue when category is set via function.php

I can get wordpress to show only one category of posts on the homepage via either the function.php file with the following php code... function my_post_queries( $query ) { if ($query->is_home() &...
0
votes
0answers
105 views

Error 404 in Custom taxonomy with pagination

I use CPT UI to create custom taxonomy. It's code i got : add_action( 'init', 'cptui_register_my_taxes' ); function cptui_register_my_taxes() { $labels = array( "name" => "Product ...
0
votes
0answers
15 views

Is using categories for site structure a bad solution

I've been thinking about a current site structure implementation that relies on categories to build out the menu structure and the category template to render site content. As categories can change ...
0
votes
0answers
31 views

Pagination not displaying

I'm using HTML5Blank theme to edit my own theme on clean basis, and trying to set the pagination but it's not displaying for some reason, and I cant find out why. Index.php calls loop then pagination ...
0
votes
1answer
38 views

Custom pagination (Title, date and teaser)

I'm working on implementing a custom pagination for a website. Unlike default Wordpress pagination with "Older" and "Newer" links, this one requires to show the title, the date and the teaser of the ...
0
votes
1answer
269 views

pagination redirecting from page number url before page requested

I have a CPT called staff. On their single-staff.php pages i have a list of items they are related to. This has become too long so now we want pagination. I can create the page links fine but it ...
0
votes
1answer
248 views

Pagination not working in home page

I'm using Presso theme, if I click on the numbers in homepage to go to page 2 for example, my url becomes page/2/ and the highlighted page number is 2 but the page keeps showing the posts of the page ...
0
votes
1answer
12 views

How do I make my pagination work?

In a custom page template, I use the following code to display posts from that category and sub-category. How do I make the pagination work? // The Query query_posts( array ( 'category_name' => '...
0
votes
0answers
86 views

How can I filter through my custom posts with pagination?

Right now I am successfully filtering my posts with my taxonomy terms with jquery so that when you click on a "brand" or a "type" it shows posts that have that taxonomy. My problem here, however, is ...
0
votes
0answers
24 views

Paginate results of CPT query

I have a CPT ('products') with two taxonomies ('occasion' and 'recipient'). I have a 'giftfinder' form that allows the user to choose one of the taxonomies, select one or more terms, and search for ...
0
votes
0answers
67 views

Pagination diplays always 2 pages

I have a problem with the pagination its working great with blog page, but when i want to show custom post type it shows always two pages even if it contains just one post. P.S. I modified in my ...
0
votes
0answers
18 views

Custom Query Problem

I want to get posts specified with just parent category, not with childs of it. But when I'm using category property, posts_per_page not working. If I remove category proerty, posts_per_page working. ...
1
vote
0answers
34 views

How to : pagination in 3 different custom loops on the same page

I have this content in my index.php. 3 areas with 3 distinct custop wp_query loops to get different categories of articles in each one. I have set wordpress to show 12 articles by page, so it displays ...
0
votes
0answers
71 views

pagination custom post type reload but show the same

i have a problem when i try to paginate in a table my custom posts types, in the view it appear in the correct form " 1 2 3 Next" but when I click in the number the page reload but not show the other ...
0
votes
0answers
16 views

Way to filter hundreds of posts on a paginated archive page?

I have a client who wants to filter subcategory posts on a category archive page, which I can handle, but there are hundreds of posts. It's just the featured image and title, but even so it would have ...