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

learn more… | top users | synonyms (1)

0
votes
2answers
467 views

Custom post type pagination error

Another one of these paging errors you see here so often. I searched high and low for a fix but have come up with nada so far. I am paging CPT results using my archive-{$post_type}.php template and ...
3
votes
1answer
1k views

How to paginate the get_users function?

Im using the get_users function to show a custom list of users on the site. The only issue Im having a problem figuring out now is how to paginate the result. This is a sample of the function that Im ...
1
vote
0answers
181 views

How to make pagination work not for a whole category but for a part of it? (WP_Query) [closed]

In my example you can see that i have to paginate posts from category 6 with meta_value='izhs' for meta_key='dachaizhs' Now it works like it paginates the whole category, and then exclude from each ...
0
votes
2answers
7k views

WP_query and pagination?

I have to get some custom post types and need to do that with WP_Query (query_posts doesn't work). How can I do the pagination? Whatever I tried didn't work... any help would be awesome I can't crack ...
0
votes
1answer
173 views

Can't get pagination to work for sticky posts only

I don't get my pagination to work. I need to filter my posts on sticky posts and display only two per page. Tried almost everything but can't get it to work. It is totally ignoring my posts_per_page ...
7
votes
3answers
3k views

How to determine if I'm on the first page of pagination?

How do I determine if I'm on the very first page of pagination? I'm using WP_Pagenavi. I want to run a function only on the first page of the pagination. I checked the query_var 'paged', it's set to 0 ...
0
votes
1answer
343 views

Offset a post in the loop, with using PageNavi Plug-in

I am trying to offset 1 post in my main loop, I have tried a few things Like query_posts() etc etc, and i can get the offset to work but my pagination ends up not working , I am using the PagNavi ...
3
votes
2answers
3k views

URL rewrites and pagination

I must say that I am a complete nooby at Wordpress custom URL rewrites. I have searched for past many days to find a clear explanation of how to determine and write correct pattern for URL rewrites. I ...
2
votes
1answer
4k views

Change Posts per page count

In the wordpress settings => Reading => Blog pages show at most [input field] posts I have it set to 3 posts at the moment. On my index, date archives, tag archives, category archives, search ...
1
vote
1answer
6k views

Wordpress pagination with get_posts?

I need to make adjustments to a horribly written WP theme that (a custom theme that was written in tables, and bad code). The theme has several custom templates, but pagination wasn't used and ...
1
vote
1answer
2k views

Wordpress pagination showing same posts on each page

I need to make adjustments to a horribly written WP theme that (a custom theme that was written in tables, and bad code). The theme has several custom templates, but pagination wasn't used and ...
2
votes
2answers
1k views

Next & Previous (Pagination in this case) Not Appearing

I am using a custom page template for my portfolio. The code is calling the correct number of posts per page but for some reason the pagination links won't show up :-S My query <?php $loop ...
0
votes
1answer
97 views

Display “Post 2 of 4” on single post page?

I have a custom post type called Projects. When viewing a single 'project' post I have next/prev buttons to navigate through them. I also want to display text saying "Project 2 of 4" or ideally ...
1
vote
2answers
1k views

Pagination on single post page?

I've found many pagination tutorials/plugins that work on pages displaying a list of posts such as index.php E.g. - ...
2
votes
4answers
362 views

A way to detect which page a post is on

I'm wondering if there is a good way to tell which archive page a post came from. I essentially just need the post's position in the total order, then divide it by the 'posts_per_page' option. The ...
1
vote
1answer
761 views

Admin table list API?

wp-admin table lists - like post list Is there a API or something to build table lists in wp-admin? With table lists I mean like the list of posts for example. It has columns, sorting, paging and so ...
1
vote
1answer
628 views

Pagination for multiple queries for different authors on author.php

I have peculiar requirement. The author.php template is used as a profile page for the author where he can view his own posts and posts by other authors. This template has two custom loops to achieve ...
1
vote
2answers
902 views

How to add pagination with page numbers rather than next/previous links?

Does WordPress have any built-in pagination functions to show the page numbers instead of previous and next page links? If not, how can I add that? Thanks
0
votes
1answer
134 views

Search URL redirect problem

I'm having a strange problem with my search results page when i search i get this in the URL http://f.cl.ly/items/2Z1c1b2G1n0B3r3W063B/Screen%20Shot%202011-09-29%20at%201.21.19%20PM.png "see the X ...
0
votes
1answer
790 views

Next / Previous Posts not working

So I have a page that display posts from a certain category. If that is the category, its outputs one way, otherwise, it outputs another. The problem is, the pagination is only working on the ...
0
votes
3answers
47 views

Not displaying any articles on a custom made file

I have created the file latest.php in the public_html so that when I go to www.domain.com/latest.php it will show me the latest articles. Sadly, nothing of the posts came up. Later, I will sort them ...
1
vote
1answer
352 views

Wordpress removes spaces in URL on pagination

I'm having a problem with wordpress rewriting my URLs, basically I have a regular search form with method set as GET, when I submit it the URL looks like this at first: ...
0
votes
1answer
934 views

Insert pagination links - wp_link_pages() - before filters on posts

I'm trying to add pagination support for some longer posts on my site. I've added the wp_link_pages() function to my single.php file, after the_content, but this causes the pagination links to display ...
0
votes
1answer
491 views

How to implement a slideshow on WP similar to these examples?

I'm a big fan of slideshows like these: BEST PLACES TO LIVE http://money.cnn.com/magazines/moneymag/bplive/2011/snapshots/PL0846355.html Best places for the rich and single ...
1
vote
0answers
131 views

Taxonomy Pagination [closed]

I have a custom post_type => 'products' wich has a taxonomy => 'product_type' and I have a page that uses a template to display all posts by post_type => 'products'. Works just fine when I ...
1
vote
4answers
2k views

Show content only on front page?

I want to add some content (slider) only on the home page. I don't want it to apear on the other pages. I am trying following: <?php if(is_home()) { ?> <div> ... <div> } ?> But ...
2
votes
1answer
2k views

5 posts per page from single category, paginated

I've been trying to create a "blog" page within a portfolio site of mine that only displays posts that I've categorized as "Blog". My goal is to only display 5 posts per page and have pagination at ...
2
votes
2answers
336 views

Multi Site Search Pagination is Broken

the CG Cookie network is running a WordPress multi site install. There is a strange bug happening with the search pagination when on any of the sub sites. For example, if you go to ...
0
votes
1answer
493 views

Fix custom query pagination without changing site-wide posts-per-page settings

Many people report problems with pagination of custom queries or custom post type archives: url/page/2 produces a 404 even though all the setup is correct. Many end up figuring out that this is ...
0
votes
1answer
473 views

Pagination problem with multiple loops on the same page

I'm using 4 custom loops to display 3 posts on each one and every loop has its own pagination which works fine once the page loads up, the problem is that when I click on the 2nd page of the first ...
1
vote
1answer
2k views

posts_nav_link() not displaying anything

I'm having difficulty getting posts_nav_link() to display anything. Below is my index.php template file, I'm using permalinks (index.php/2011/08/26/sample-post/ format) and I've currently got my Blog ...
3
votes
2answers
896 views

Keep Pagination in Tabs

Is there a way to have pagination on multiple tabs? I have a page the has 5 tabs, each tab has filtered content from the same posts. For example: Tab 1 - All Posts. Tab 2 - Posts with Keyword ...
0
votes
3answers
234 views

How do I use pagination in WordPress?

I'm using the index.php file and editing this so that it displays two articles at a time. I'm using query_posts( $query_string . '&posts_per_page=2' ); before the main loop and it's displaying ...
3
votes
3answers
5k views

get_query_var( 'paged' ) not working outside of homepage

Twenty Eleven Theme... On the home page, I have successfully filtered the loop to display just "Featured" posts with pagination functioning properly through nav links. I'm trying to display posts ...
1
vote
1answer
722 views

Getting 404 on taxonomy page

i've created a custom taxonomy template for my taxonomy and custom post type, custom post type name is "ecommerce" custom taxonomy is "ecommerce_categories", the problem is with the pagination it ...
-1
votes
1answer
1k views

Wordpress comment pagination : newest comments on first page

I use Wordpress commment pagination as follows: paginated comments comments displayed with the newest comments at the top of each page 50 comments on each page first page displayed by default The ...
1
vote
1answer
368 views

Pagination Comments Doesn't Show

what im trying to accomplish is adding a pagination to my function for comments. I think im on the right track with my code but I need some guidance. <?php $comments = ...
1
vote
2answers
3k views

Custom loops, sticky posts, and pagination nightmare

I've tried everything. I've looked at every. single. question. here, on StackOverflow, the WP help forum, googled 10 pages deep and literally tried EVERY combination of code I could find, for the ...
1
vote
1answer
1k views

Using ajax with paging and a custom sub-query

I have a page that uses three queries to retrieve a variety of content. One of those queries grabs posts that are related to the topic of the page. Since these posts can be of all sorts and related ...
1
vote
2answers
689 views

Why do next pages load the same content rather then older articles?

For some reason, the 'previous posts' and 'next posts' on the homepage do not load previous posts, but rather the same posts that were on the main page. Why is that? I don't even know where to start ...
1
vote
1answer
2k views

Wordpress 3.2 query_posts and pagination, permalinks issue

My question is not new but it just does not work with all found solutions in my case. I am trying to display recent posts on single post using custom query_posts loop. The permalinks structure must ...
0
votes
1answer
250 views

WordPress total posts per page changed and now 404 Http error comes out [closed]

I have migrate my web site from Joomla to WordPress. All are fine, I have create my Rewrites in htaccess to stop 404 from old URLs but I have problem with pagination. In Joomla web site, I had 6 ...
0
votes
2answers
624 views

Pagination for query_posts();

I know there have been many question like this and I've read them, but I still cant get it working... I have this query: query_posts(array('cat'=>3,'posts_per_page'=>5)); And I simply display ...
3
votes
1answer
280 views

Custom Post Type pagination - normal solutions aren't helping

I have multiple custom post types and I need to be able to query them and page through them. This is the query I am trying: $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; ...
0
votes
1answer
737 views

split wordpress loop into columns of categories and associated posts

Here is what I need to do with 5 columns on the "archive" page: I can already loop through the categories and posts in a loop to display them quite nicely, I just cant figure out how to split it into ...
0
votes
3answers
3k views

How to change title tags on paginated posts?

I've created many post with multiple pages with the nextpage-tag. The problem is that these show up as errors in "Google Webmaster Tools" because of duplicate title tags and meta descriptions. The ...
3
votes
2answers
841 views

Non-Linear Questionnaires in Wordpress

I want to make the following happen in Wordpress People answer questions in paginated or single page form. Each next set of options is dependent on the option the user selects preiviously At the ...
0
votes
2answers
157 views

Pagination Not Working When Modifying Loop Based on Post Category

I have added query_posts() to my index.php file to modify the loop on the posts page: query_posts( 'cat=-4,-7' ); get_template_part( 'loop', 'index' ); This works correctly, but when I click on ...
2
votes
1answer
228 views

Paging on a future post loop?

I am trying to get paging to work on my future post loop, but to no avail. I am getting no links, when I expect them at the bottom, for pagination despite there being several valid posts in the ...
1
vote
0answers
294 views

Pagination on Single Custom Post Type Pages [closed]

I have a custom post type called Brands and on the single-brands.php page I have a secondary loop that gets all the posts that are in a taxonomy. Everything works fine except I can't get the page to ...