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

learn more… | top users | synonyms (1)

2
votes
0answers
117 views

Custom WP_Query order by post_meta and (author) user_meta

I am having an issue that i couldn't find on google and elsewhere. To put problem in the context. I am making a wordpress site where user can put their tutor listing for giving a tutorials, and i am ...
2
votes
0answers
341 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 ...
2
votes
0answers
109 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
27 views

How to load paginated post pages via ajax

Here's the case I got: I've setup post pagination for my website and everything works well. Except one thing - on every new page request all the resources are loaded again. This makes the website ...
1
vote
0answers
23 views

How checked checkboxes remember on all pages in wp_list_table pagination?

I am working on a plugin in which I am using wp_list_table and displaying post and pages. I am facing a issue like I m using pagination and have almost 20 pages, I select a post or page (using ...
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. ...
1
vote
0answers
64 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; ...
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 ...
1
vote
0answers
57 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 ...
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 ...
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 ...
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 ...
1
vote
0answers
26 views

Adding default pagination to wordpress loop

I am trying to add default pagination to my Wordpress loop but am unsure where to begin, most guides explain how to create custom numbered pagination. I simply need the default wp pagination. (newer ...
1
vote
0answers
69 views

Frontend sorting

Here is what I am trying to accomplish: Which partly works already, I can sort with 2 dropdowns and have a pagination. I have to merge both dropdowns into one, and add "posts per page" without ...
1
vote
0answers
61 views

Pagination with an array of post objects?

I am curious, I have the following code: foreach ($this->networkBlogs as $siteBlog) { switch_to_blog($siteBlog['blog_id']); foreach (get_posts() as $postObject) { ...
1
vote
0answers
228 views

WP Query to have sticky posts first, with pagination and having a joint 'posts per page' arg with main loop

I am building a Wordpress site and have come to a bit of a wall while using a WP_Query, it started out quite simple but then sticky posts got thrown into the mix and it's becoming a bit harder to ...
1
vote
0answers
173 views

Pagination in relation to archive.php

A small problem here, I just don't know how to change this because I'm a self taught newbie. I made a child-theme from the simone-theme with a static front-page. To it I have the archive.php as the ...
1
vote
0answers
46 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
183 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
137 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
215 views

Multiple Loops on category.php with pagination on last loop

I'm trying to achieve what should be fairly simple but I've hit a brick wall when trying to paginate the last of three loops on the category.php template. I've read just about everything I can find on ...
1
vote
0answers
80 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
67 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
115 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
32 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
483 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
88 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
584 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
230 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
382 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
68 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
393 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
104 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
347 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
117 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
78 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
221 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
98 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
13 views

Numbered pagination not working on Custom Post types

I need help about pagination. I am retrieving posts from a custom type based on the post title, and I want to show numbered pagination, when the result contains more than 10 posts. What I have done ...
0
votes
0answers
15 views

Where and how to import pagination?

Since ever I started with WordPress Theme Development, I've always had problems adding pagination to the bottom of the page... Now the questions is how to add pagination on a Blog Page to list etc 9 ...
0
votes
0answers
13 views

Customized Paging with [More Option] in Word Press

I want to implement paging with Read More option in such a way that first time when Page will load then 10 posts will reflect. Then clicking Read More on this page would again load next 10 posts (thus ...
0
votes
0answers
18 views

paginate_links() always outputting as if posts_per_page were 10

I'm querying 20 posts per page: $posts_per_page = 20; $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array( 'posts_per_page' => $posts_per_page, 'paged' ...
0
votes
0answers
48 views

wordpress custom numeric pagination next / previous / last not showing

I'm using a custom Numeric WordPress Pagination on a page template using a wp-query, based on this tutorial : tutorial I have the numeric pagination working fine, and the page counter also. but the ...
0
votes
0answers
19 views

How to add a pagination in custom post type maker plugin

I declared testimonial using a testimonial page template. I want a pagination in testimonial menu. <div class="testimonial"> <ul> <?php $args = array( "post_type" => ...
0
votes
0answers
12 views

Show network site permalink in current site

I have 2 sites. 1a(ID:2) and 1b(ID:3). Both 1a and 1b have the custom post type added to them via the functions file. The posts for the cpt are created on 1b. I have the posts from 1b displaying in ...
0
votes
0answers
44 views

Problem with Custom Post type Category Listing Pagination

I am having a really hard time for the past three days getting the pagination in custom post type Category page working. I am using WP-Knowledgebase plugin which uses custom post type. The pagination ...
0
votes
0answers
30 views

How can create pagination for specific category posts?

I'm trying to create pagination for specific category post in custom template, i create a function which is returning the all post pagination. I have overall 39 posts which are for different ...
0
votes
0answers
43 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 ...
0
votes
0answers
58 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
28 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 ...