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

learn more… | top users | synonyms (1)

1
vote
0answers
31 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 ...
0
votes
1answer
53 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
28 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
237 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
68 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
30 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
57 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
174 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
116 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
81 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
73 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
86 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
137 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
24 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
73 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
13 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. ...
0
votes
0answers
64 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
32 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
59 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
17 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
29 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
108 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
250 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
27 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
98 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
30 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
37 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
224 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
216 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
79 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
66 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
32 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
69 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 ...
0
votes
1answer
34 views

Pagination adds product to cart Woo-Commerce

In my WordPress Woo-Commerce theme when a product is added to cart from shop page its added into the cart with a url e.g /shop/page/3/?add-to-cart=149 and when I switch to another page using ...
0
votes
0answers
17 views

Page 2 shows same posts as on homepage

I am using Genisis Framework and eleven40 pro theme. And created a static homepage to remove the grid from the homepage everything was going fine but all of a sudden when i clicked on "page 2" it ...
7
votes
2answers
125 views

How can I create a category landing page followed by pages of posts?

I'm trying to create a category template in my theme that will display static content if the user is on the first page of the archive, and then display the posts in the category on the following ...
0
votes
0answers
61 views

Paging not working for hierarchical custom post type

I've defined a custom post type called Fishing Reports, and want to break it down by states, then regions. For example: url.com/fishing-reports/florida/northwest/ That part is working as expected. ...
0
votes
2answers
104 views

Custom taxonomy in custom post type archive with pagination

I have inmy opinion something simple that needs to be done but I can't get it to work. I have a custom post type adm_project with rewrite => array('slug' => 'projecten') add_action( 'init', ...
0
votes
1answer
26 views

Removin /page/2 from pagination

I would like to remove /page from category pagination or translate is so it looks like this: http://www.example.com/category/catname/2 or http://www.example.com/category/catname/customword/2 ...
0
votes
0answers
113 views

Pagination Links Do Not Working on Homepage - Within a new empty theme

I tried a lot of things but in my Wordpress theme Page 2 or etc.. not showing. When i click Page links it showing a white page. My index.php code is here. And i haven't got any code in functions.php ...
0
votes
2answers
98 views

How to Fix Custom Wordpress Loop with Pagination on Single Post View?

I have a custom post type called "Releases" set up and paginated perfectly using the following code: The Loop <?php $paged = (get_query_var('page')) ? get_query_var('page') : 1; $args ...
0
votes
0answers
97 views

404 - pagination WP_query custom post type in page 2 or nextpage

I got 404 page when I click to page 2 or next page. I try used pre_get_post anyway, but 404 page is there. Any answer is welcome, thanks a lot. I've tried many ways, and search ... In my query ...