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

learn more… | top users | synonyms (1)

1
vote
0answers
28 views

Issue on single.php pagination WordPress

I faced weird issue on single.php. I used previous_post_link('%link', 'Previous'); and next_post_link('%link', 'Next'); for next previous in single.php, it's working perfectly, but its work on all ...
1
vote
0answers
85 views

How to create pagination for homepage with widgetized area?

I have created homepage with sidebar area filled with different widgets. Each widget fetch and display posts from different categories. Now I need to create a numbered pagination in homepage which ...
1
vote
0answers
63 views

Pagination on home page not working

My problem is here. When I press page 2, 3 or other on my HOME page it just goes to 404 not found, but when I go in any category, and press page 2 it works great. I have tried changing the ...
1
vote
0answers
39 views

same slug for custom postype and page pagintion not working

I have created post type "news" and a page "news" so my url is like http://demoserver.com/testsite/news Here i use page template for news landing and i do not use archive.php page for post listing ...
1
vote
0answers
130 views

How to use pagination with get_post_meta

I have a Products Page that i am using to add products using custom metaboxes this is the code for my page <div class="container products"> <div class="row"> <?php ...
1
vote
0answers
45 views

changing comment-page-# to something like review-page-#

When you enable pagination for comments in wordpress the typical pagination page for a comment is "comment-page-1" "comment-page-2" etc. what I want is this to appear like "review-page-1" ...
1
vote
0answers
57 views

Custom Theme With Custom Loops

There are so many different questions on how to make pages show page numbers at the bottom but I can't seem to use the concepts explained in those to solve my own problem. I know some PHP and I've ...
1
vote
0answers
107 views

Custom post type archive pagination query issue

I'm using the following query to paginate a custom post type archive. The number of posts on the first page is 11 (due to the page layout) and 12 on the following pages. The problem is that while the ...
1
vote
0answers
25 views

Start WP Pagination From Number 1 in URL

I am using this code to paginate gallery post type images: $images = get_posts(array( 'post_type' => 'attachment', 'post_status' => 'inherit', 'post__in' => $image_ids, 'orderby' => ...
1
vote
0answers
281 views

multiple loops with pagination on the same page

I'm searching the web for this answer for three weeks now. Tried many things but nothing seems to work as how it should work. There must be a kind of trick what probably won't make sense to anybody ...
1
vote
0answers
59 views

make a pagination that show posts by date

i dont know if this is right question or not . but what i want to do is that , i need to create a pagination that show posts by date . i know the regular pagination is like this first-page - 22 - 23 ...
1
vote
0answers
336 views

Pagination with custom query, custom search form, single and pages, ajax and no plugins

I've read a lot of posts here about pagination with custom queries and tried the suggested answers (like this one). It seems however that my situation is a little more complex, and in the existing ...
1
vote
0answers
158 views

Using Ajax in the prev_posts_link and next_posts_link

I am using the add_filter() function in my functions.php file, to give my prev_posts_link and next_posts_link individual classes. The following code successfully loads the individual classes, ...
1
vote
0answers
259 views

Custom post and category template pagination problem

I have a category template which holds a query to custom post with a category. The strange thing is when the pagination loads it displays how many pages we have. But when I click on the second page of ...
1
vote
0answers
345 views

get_posts() with pagination problem

<ul class="list"> <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'category' => '8', 'orderby' => 'post_date', ...
1
vote
0answers
66 views

Pagination customization

I am working to develop this type of pagination: I am taking values and displaying them on same page and my code snippet is below and couldn't make it why it is not working. <?php if ...
1
vote
0answers
219 views

Pagination w/Static Front Page

I'm trying to add pagination to my frontpage. It's currently set to Settings --> Reading --> Static Page --> Frontpage: home I'm using a custom template for the homepage. I have my ...
1
vote
0answers
89 views

How to make the link to the category for a post go to corresponding page number in archive?

For instance, I am at http://url.com/single-post and in the post there is a link to the category that navigates to http://url.com/category/page/3/ which is the corresponding archive page that contains ...
1
vote
0answers
266 views

Category archives with monthly pagination

How would I go about doing the following: I need to setup a prev/next type pagination where posts within a category archive are split into months. For example, if I navigate to the News category, I ...
1
vote
0answers
111 views

Adding range to wp_link_pages();

I have some very long posts, some have more than 50 pages() and when using wp_link_pages it give me 50 internal post links, clearly this isn't usable. How can I add a range to the wp_link_pages ...
1
vote
0answers
74 views

can these 3 queries be re-written as 1 query?

I am creating a Dentist directory site, and I have a taxonomy archive page which requires particular grouping and sorting (see below). So far I have only been able to achieve this using 3 WP_Querys ...
1
vote
0answers
201 views

Custom post type pagination - always return first page

I have custom post template archive-product.php for custom post type "product". In this template paging does not work: numbers are displayed all numbers links redirect to first page ...
1
vote
0answers
95 views

wordpress pagination, links appear but go nowhere when clicked

First let me say that, ive been digging for the past 2 hrs and the problem is that, although the links do appear on the bottom of the page where i place the function that calls the pagination. when ...
1
vote
0answers
91 views

category pagination got broken suddenly

i need some help here please! The pagination just stopped working suddenly with the default post type and default wp query, with plugin "wp-paginate" or even with next/prev arrows! It echo 404 error ...
0
votes
0answers
12 views

Loop within category's posts

I'm trying to figure this out since a couple of days, and even though it should be a quick and easy thing, I couldn't find any workaround. I've 4 categories, and each of it has between 10 and 40 ...
0
votes
0answers
39 views

Implementing a general Table of Content across single paginated post pages

I am working on a blog and most of my posts are so long they require pagination. See one of my post http://www.medhealthng.com/heart-rhythm-disorders-abnormal-heart-rhythms/ ... this post has alot of ...
0
votes
0answers
20 views

Custom query with pagination on home page

My home page need to retrieve some posts and break them into number of pages, so that I can load them using infinite scroll plugin. I have tested my query, it works as expected. however I can't seems ...
0
votes
0answers
14 views

Loop a Custom Post Pagination

I am having a little trouble trying to get my custom post type pagination to loop. The idea to my pagination is to only display a next field with the title of the next post. Once you hit the last post ...
0
votes
0answers
20 views

Pagination in Search result

How to do a pagination in search result? I have already an excerpt script. All I need is a script for pagination. Pls help me. Thanks function wpse_allowedtags() { return ...
0
votes
0answers
11 views

group search results by post type with relevanssi

I have 3 post types: post lesson series When a user searches on my site, I want the results to be sorted by post type into different containers. I am using the Tabs from Zurb Foundation for my ...
0
votes
0answers
39 views

How to add pagination into post showing

I have created a plugin to display all posts on any page by short code. But how do I add pagination? global $wpdb; query_posts('cat='.$cat); $table_name = $wpdb->prefix . "advertisement"; ...
0
votes
0answers
19 views

Pagination leads to 404 page

I am working with wp_pagenavi plugin. The first page loads normally, but, if I use navigation for next page, it redirects me to a page which shows 404 error. Most likely the problem is with the ...
0
votes
0answers
20 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
42 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
39 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
55 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
41 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
32 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
14 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
30 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
25 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
32 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
35 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
37 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
91 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
74 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
51 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
38 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
44 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 ...