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

learn more… | top users | synonyms (1)

1
vote
1answer
689 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
1k 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
139 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
934 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 'other'...
0
votes
3answers
49 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
524 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: http://mysite.com/news/?type=...
0
votes
1answer
1k 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
675 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 http://money.cnn.com/...
1
vote
4answers
3k 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
4k 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
393 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 http://cgcookie....
0
votes
1answer
653 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
504 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
2k 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 One....
0
votes
3answers
240 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 ...
4
votes
3answers
8k 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
1k 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
428 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 = get_comments('number=24&...
1
vote
2answers
4k 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
901 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
266 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
762 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
301 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
1k 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
4answers
4k 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
1k 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
173 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
287 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 ...
0
votes
2answers
531 views

Is there a PHP function that can match anything after the given URL, so my IF statement will work in each instance?

I have an IF statement shown below that runs one of 2 custom queries, based on the url. The problem I'm facing is if the url contains pagination such as /page/2/, my query breaks because the url isn't ...
1
vote
1answer
3k views

How to fix pagination after rewriting url? ie. www.site.com/players/type/pro/page/3/

I have a custom post type of players, and archive-players.php lists them all at an address such as www.site.com/players. I'm then using a url like www.site.com/players?type=pro to list another page ...
0
votes
3answers
6k views

How to disable pagination (next/previous links) on post type archive?

How can I remove the next and previous links in a custom post type archive page, but only for that post type? I know I could wrap any function in if ( get_post_type($post) == 'myposttype' ) {} but I ...
0
votes
1answer
652 views

WordPress/jQuery pagination plugin for multiple lists

I have 3 shortcodes. Each of them will be displaying a list. PS> the lists do NOT contain wordpress posts/pages. Is there any WordPress plugin that can achieve the purpose? OR Please suggest me a ...
3
votes
3answers
10k views

Custom post type pagination 404 fix?

Been trying to get this working all day but haven't had any luck... I have a custom post type called 'news' and an archive template (archive-news.php), here I'd like to show 2 posts with pagination, ...
1
vote
1answer
3k views

How to paginate a list of tags

I have a page that displays a list of all tags of my blog. Iuse this code which works fine: <?php $poststocount=get_tags($args); echo '<h2>Alphabetic Index of All '</h2>'; ?> <?...
1
vote
1answer
1k views

how to know if the post has pagination (<!--nextpage-->) or not

i need a solid solution for checking if a post has pagination or not, regardless of the number of current page in the pagination, and even if the post is in the first page of the pagination. the check ...
0
votes
4answers
935 views

Pagination throws 404

I'm experiencing some problems with my pagination when displaying custom post types. I would like to display 9 posts and then display a numeric pagination. This is working, some links are generated ...
0
votes
2answers
4k views

Pagination with custom post type not working

For some reason I can'g get pagination using previous_posts_link and next_posts_link working. Here is the code I have... <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>...
0
votes
1answer
5k views

Passing custom args in paginate_links

For example i've domain.com/about?project=1 but i've permalinks enabled and i'm using thins to generate the pagination paginate_links. The proble is that the links generated are like this domain.com/...
4
votes
4answers
9k views

Pagination with custom SQL query

I have my own SQL string to select Custom Post Type posts with specific WHERE clause. I've used the offset and limit to return appropriate posts depending on a page being displayed. That's working ...
2
votes
3answers
821 views

Wordpress rewrite my URL when i use pagination

I've just created a rewrite rules to integrate pagination in my page music (displaying custom post_type "music") in order to : 1. displaying a specific page from a long musical playlist. 2. in this ...
1
vote
1answer
466 views

How to implement pagination in backward way eg. first - 20 - 19 - 18 - … - 3 - 2 - 1 - last

How can I implement pagination in backward style, like shown in the title. (newest) first - 20 - 19 - 18 - ... - 3 - 2 - 1 - last (oldest) I have search plugin, there are not yet plugin for this. ...
0
votes
2answers
2k views

Pagination problem (plugin wp-pagenavi) with a custom post type?

I am currently developing a WordPress website with a custom post_type called "music". I use the plugin wp-pagenavi to paginate content "music". When I link on the first page, it's OK (see link below) ...
4
votes
2answers
7k views

Custom Post Type Archive Page: Set Posts Per Page, Paginate

I have a custom post type called video. Would like to paginate its archive page, showing only 3 posts on each page. There is also a custom loop on the archive page that outputs all the video posts (...
0
votes
3answers
2k views

Pagination that includes “view all on one page”

I'm using the code below to create pagination for my post results, it works fine but is it possible to add a "view all posts on one page" button to the pagination? This would presumably override ...
5
votes
1answer
207 views

Help making my pagination plugin better

I'm not sure if this is the right place to ask for this kind of help since is not an actual question but hopefully I can learn a thing or two. I'm developing a plugin (my first one) inspired in the ...
1
vote
1answer
843 views

pagination with sticky posts

The following code displays 8 posts on the 1st page. On all succeeding pages however, only 7 posts are displayed. I am assuming this is because the 1st page also displays sticky posts (whereelse the ...