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

learn more… | top users | synonyms (1)

0
votes
1answer
1k views

Custom post type archive page pagination

I have set up an archive page for my custom post type reference, where I use a query to get all posts of type reference. This works, but when I try to paginate the result, it doesn't work. Right now, ...
0
votes
1answer
327 views

foreach pagination

I am looking for help in how to paginate my foreach output. I've looked at other questions and answers and cannot find a solution that works for me or that I can figure out on my own. Right now my ...
0
votes
1answer
50 views

Pagination on Custom Loop

I want to style the latest post differently than all the other posts in a category on a custom page. So far I have this code below which does exactly that: <?php if (have_posts()) : ?> ...
0
votes
1answer
144 views

wp_query pagination links producing 404

I've searched thousands of related posts and can't seem to get the pagination to work on this loop. As soon as i click next page i get a 404 //get the search term if (!empty($_GET["s"])){ $s = ...
0
votes
1answer
187 views

Rewrite Rule & Regex - Extract 'cat-name' and 'page-number' from http://domain.com/custom-post-type/category/cat-name/page/page-number

I have an URL formatted so: http://domain.com/custom-post-type/category/cat-name/page/page-number I need to extract: cat-name and page-number So that in my functions.php, I can create the custom ...
0
votes
1answer
77 views

Pagination URL order

I'm trying to create a filter by taxonomy for a custom post type. When I use the filter option it creates this URL which doesn't work: /projecten-test/?branche=industrie/page/2/. But when I enter ...
0
votes
1answer
134 views

how to limit query_post to first page?

I have a custom post type called listings with different taxanomies, I am using this query to display first only my post that have the type taxonomy featured. This is the code that does that : ...
0
votes
1answer
41 views

Can't get pagination to work with this WP_Query loop

I know pagination isn't as straight forward with WP_Query as it is with other loop types but normally I don't have a problem with it. I'm editing a site for a client and this is their current loop; ...
0
votes
1answer
57 views

How to devide post into more than one page using <!––nextpage––>?

I want to divide a post into multiple pages using <!--nextpage-->. Please guide me through this and also I want some customization in that. You can check here what type of pagination I want to ...
0
votes
1answer
37 views

Adding pagination to custom Wordpress function

I am trying to add pagination to posts however i cannot figure out how to get it to work - it simply does not show the pagination as i need it to. It should display the first 15 posts on the first ...
0
votes
1answer
153 views

Reverse ordered pagination on home page

Use on the blog reverse pagination. The question arose. How to make a home page is not the first? Need to break the link Home = First page and make a connection Home = Last page. Home should be the ...
0
votes
1answer
145 views

pagination custom post type on CP page

I know that there are a lot of topics on this question and I've read a lot of them and tried different things. But pagination is still not working. I think it has something to do with the permalink ...
0
votes
1answer
114 views

Pagination for user list

I am showing all the users by using the get_user() function. But I need to paginate the results. I tried a lot, but didn't succeed. Here is the code, which doesn't work as expected: $args = array( ...
0
votes
1answer
228 views

All blog posts are not showing up

This post may already exists but I just missed it in how I searched for it. Here goes. I have recently changed my blog back to the Genesis Framework. I am using the Nameless child theme. These are my ...
0
votes
1answer
510 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
1answer
144 views

Intercepting $_GET variable from custom pagination

I have a custom pagination using a form with the get action so I can have a page jumper box. Everything works until you enter something that is not an actual page. Examples are negative numbers, text ...
0
votes
1answer
567 views

List posts based on First letter of Posts

I want add a Pagination [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] .......[Z] Easy Post Title - By Admin on 2013 post content....bla bla bla... Example Post - Another Test ...
0
votes
1answer
326 views

get_next_posts_link() stops displaying at page 4

Please start by taking a look at this quick video: http://www.screenr.com/8vSH The problem: get_next_posts_link() disappears on page 4. That is, the "go to older posts" link disappears once I am in ...
0
votes
1answer
63 views

How to inject a post within a loop

I'm trying to inject a post while the loop is running. This post will be injected on a condition, so if(x == j){ //inject post here } I see this would seem easy to do, but i have a posts_per_page ...
0
votes
1answer
161 views

Pagination in category

Updated: I have 50 categories and i wants to show each 5 category on one page and next 5 on next page and next 5 on next page. and so on. with pagination. I have 50 categories in a WordPress site. I ...
0
votes
1answer
272 views

/tag/tag_name/page/2 gives a 404 error

I created my own template for list of entries for certain tag (tag.php), It will shows up 10 entries, and with Previous & Next link. <?php $paged = get_query_var('paged') ? ...
0
votes
1answer
202 views

Infinite Scroll Plugin: How to first show 6 posts and then 2 posts thereafter with Infinite Scroll Plugin?

I am using the Infinite Scroll Plugin and initially load 6 posts onto the page. After the user hits "Show More" which is the pagination buttons on the page, I would like for 2 posts to be displayed ...
0
votes
1answer
125 views

Post archive pages bringing me to a 404 page

When I try to use next_posts_link() and previous_posts_link() in my archive posts page I got a 404 error page. I'm using this permalink setting /%category%/%postname% and working well for all pages ...
0
votes
1answer
163 views

How to change pagination base from slash to query form?

Can this function... function custom_pagination_base() { global $wp_rewrite; $wp_rewrite->pagination_base = 'p'; $wp_rewrite->flush_rules(); } add_action( 'init', 'custom_pagination_base' ); ...
0
votes
1answer
91 views

List of filtered Events is breaking paging?

I have a list of events that are displaying in date order, with events in the past being hidden. The issue is that in total, there are 3 pages of events, but once the past events are hidden, there ...
0
votes
1answer
279 views

WP Paginate not working properly

Im creating a WP for a custom type post in a page template: <? global $paged; global $notquery; $temp = $notquery; $notquery = ...
0
votes
1answer
45 views

Pagination when using multiple loops

I've populated my index.php with various post loops and I want to be able to get pagination working. The reason for multiple loops is because I'm pulling in posts from different categories in ...
0
votes
1answer
179 views

Pagination - works on local but not live dev!

Can anyone please shed some light as to why the following to print out page numbers works on my local dev server but not on my live server? Both server are running same version of PHP. My Loop ...
0
votes
1answer
119 views

Paginate wp_query while utilizing post__not_in

I'm currently running a wp_query like this: <?php $the_query = new WP_Query( array( 'post_type' => 'photos', 'posts_per_page' => '2', ...
0
votes
1answer
115 views

Paginating a list of all posts collected by category titles

I'd be really grateful if anyone has any ideas about what might be wrong with this code or, alternatively, could suggest an entirely different way of achieving the same aims. I have a site (staged, ...
0
votes
1answer
72 views

Customizing Comments on Posts

I have implemented custom code for generating comments on post page using callback function in functions.php. function MYTHEME_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ...
0
votes
1answer
249 views

How to reverse pagination for archive pages?

I would like to reverse the pagination order for the category archives and am wondering if anyone can offer any help. Basically what I am looking for is pagination to start with the oldest post ...
0
votes
1answer
751 views

Pagination for multiple queries merging into one Loop

I have an events site where I want to display upcoming events that can be booked in ascending date order, and events that are closed for registration in descending order. I'm using get_posts for each ...
0
votes
1answer
54 views

Loop being strainge

So I hacked together a function that does the following: protected function _query_post($query){ $original = $this->_wp_query; $wp_query = new WP_Query($query); ...
0
votes
1answer
166 views

query posts returns 10 records

I am using the following code to fetch records from a custom taxonomy. if ($_GET['post_type'] == "developments"){ ?> <?php global $wp_query; ...
0
votes
1answer
63 views

Add tags to long page that is broken up into subpages?

I have a long document that I am publishing as a page and splitting into sub-pages using page breaks <!--nextpage-->. I am trying to find out if it is possible somehow to add tags to these ...
0
votes
1answer
186 views

Pagination not working on homepage

I tried multiple solutions but its not working. When I go to /page/2, it doesn't work. I'm executing custom query in index.php of my theme. if ( get_query_var('paged') ) { $paged = ...
0
votes
1answer
164 views

Get next post when using pagination with WP_Query?

How do i specify which "page" to get when using WP_Query? I'm using pagination and i only display three posts per page, but i need to manually set which page to get, because Wordpress doesn't do that ...
0
votes
1answer
229 views

WP_Query breaks pagination

I've been on this problem for a week now. I've searched through countless posts that just aren't answering the question. It seems that my wp_query breaks pagination. I've looked through a lot of the ...
0
votes
1answer
216 views

Using pagination with multiple loops causes it to break

I'm have two loops on my index page. One fetches the latest posts from the 'work' category and the other fetches the latest from the 'blog' category. (see below) I am also using a plugin called ...
0
votes
1answer
255 views

Converting multiple loops into one single loop with pagination

I am using Isotope jquery plugin to filter/sort posts in Wordpress but to correctly filter the posts into the right order I have needed to output each category one after the other. To do this I've ...
0
votes
1answer
1k views

Duplicate posts showing up in loop using infinite scroll

I'm experiencing an odd issue using Infinite Scroll for the WP_Query loop on my homepage. Half the time when the second page fires, I'm getting a few duplicate posts showing up in the second set. I ...
0
votes
1answer
56 views

Modifying Page-Links <!--nextpage--> format

I'm developing a mobile theme and need to change the format of posts that are using the tag. Can I add something to functions.php to change the format? Ideally i'd like to make each page a ...
0
votes
1answer
66 views

how to add pagination to the organize series plugin

I'm thinking of using the organize series plugin for posts featuring learning videos. As they are step1, step2 etc I'd rather use pagination instead of the next/previous links. Does anyone know how ...
0
votes
1answer
191 views

Pagination in wp query with transient api

I have intergrated wordpress transient system with w3 total cache. Now i can`t to do pagination for this query. <?php $paged1 = ...
0
votes
1answer
156 views

Home page loop with pagination problem

I used a loop to display posts from specific categories, then add the code for WP_Paginate plugin under that loop ... below my posts I see pagination links from 1 --> 5 , however when I press page 2 ...
0
votes
1answer
197 views

How to get pagination working with “Pending” Posts

I'm working on a site that allows users to browse through pending posts/content on the front-end. However, I can't seem to get pagination working with those posts. I've got a custom query that ...
0
votes
1answer
98 views

Using a page (Blog template) for home page blog posts is problematic?

I bought a few themes that by default don't have blog posts on home page as normal WordPress themes such as Twenty Eleven has. I had to create a page of Blog template and then use it for home page in ...
0
votes
1answer
70 views

Pagination is not working correctly there is this wierd looping

I am working with a developer who recently updated my site to 3.3.1 My site is http://www.pagesandprint.com When I open the site and then select Shop from the menu drill down to a category page like ...
-1
votes
1answer
26 views

Pagination showing same posts despite changing page

I know this is a common problem and there are answers available but I am using pre-existing code from a premium theme, which doesn't seem to work for me. In the blog.php page template, I have: ...