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

learn more… | top users | synonyms (1)

1
vote
2answers
901 views

Pagination on taxonomy archive pages breaks

I've created archive pages for all my taxonomies (taxonomie-{taxonomy-name}.php) and this works fine. The slug of my taxonomies are the same as the slug of it's post-type. This makes it possible to ...
0
votes
1answer
199 views

Possible to create a paginated blogroll archive?

I'd like to have a separate blogroll archive whereby I can display them more or less in the same manner as posts/post types. IE: an archive which can be paginated and also with links to the separate ...
1
vote
2answers
5k views

Custom post type archive with pagination?

I have a custom post type called 'projects' (pastebin) and I have a page called Projects set up in my dashboard which is set to display the Projects template. (pastebin) The problem is when I use ...
4
votes
1answer
15k views

wp_pagenavi() with custom wp_query()?

<?php /* Template Name: Projects */ ?> <?php get_header();?> <section id="content"> <section id="main"> <?php $loop = new ...
0
votes
1answer
1k views

Pretty paged permalinks in custom post type loop

I must be annoying your with all these permalink questions :) The code I'm using for the loop is: // hijack stupid WP globals to get pagination working... global $wp_query; $temp = $wp_query; ...
0
votes
3answers
545 views

How to implement pagination eg. newer - 3 - 4 - 5 - 6 - 7 - older

How can I implement pagination like shown in the title perhaps something similar to most sites
0
votes
1answer
95 views

How to know if I am on 1st page

How can I find out if I am on the 1st page of my home page. I have my page setup like below where I want to display the 1st 2 posts taking up full width. then the rest 1/2. But I want this behaviour ...
4
votes
2answers
7k views

How to determine if theres a next page

I am new to wordpress development, just trying to convert my HTML into a WordPress theme, I started with Chris Coyer's blank theme. <div class="navigation"> <div ...
2
votes
1answer
732 views

Add “last” and “first” to Wordpress Comment Pagination Links

<?php paginate_comments_links(array('prev_text' => '«', 'next_text' => '»')); ?> Using above in Wordpress theme to add comment pagination links - this displays as « 1 ... 4 5 6 "1" ...
0
votes
2answers
16k views

Setting posts per page in query_posts

Bear with me here.. The default posts per page in the admin area is 10. During some testing I wanted to change the posts per page for my custom post archive to 2 (in WP 3.1). The problem is that I ...
1
vote
2answers
907 views

Broken category pagination

For some reason the below code works until I hit the third page and gives 404. Is it possible to fix it without using any plugins? <?php $temp = $wp_query; $wp_query = null; $wp_query ...
0
votes
1answer
1k views

Showing one post from each category, paged?

I want to display one post from each category per page. So the first page would contain the first post of cat A, the first post of cat B and the first post of cat C. The second page would contain the ...
1
vote
1answer
1k views

Paging doesn't work?

I have my own custom post type, and 15 items there. This code shows all the items: <?php $loop = new WP_Query( array( 'post_type' => 'my_post_type', 'posts_per_page' => 15 ) ); while ( ...
0
votes
2answers
1k views

Modify main loop query for paged and meta key

I try to change the main loop in such a way: I have a meta key for displaying featured items, that should be shown only on the home page of the a blog. I pull them in a code separate from the main ...
0
votes
2answers
888 views

How to disable Wp-PageNavi at the top of the page

By default, the Wp-PageNavi plugin creates 2 pagination links, from the second page onwards - one at the top, and another at the bottom of the page. How can I disable the pagination at the top, ...
3
votes
2answers
4k views

Pagination with WP_Query is buggy - working for some pages, but not the others

I'm having a very peculiar bug with pagination :( I'm trying to display 4 posts per page for a category with slug "lastest-news". The pagination function seems to work correctly. There are 33 posts. ...
2
votes
1answer
3k views

Pagination on archive.php page

I have an archive.php page with the following code: <?php // Start your custom WP_query $my_query = new WP_query(); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = ...
0
votes
2answers
709 views

How to apply next/previous classes to LIs for pagination links?

I am using the WP-Paginate plug-in and need to apply a class to the containing LIs for the next/previous links. Can someone tell me how to do this? If there's a better/easier way to do this other than ...
1
vote
1answer
785 views

Pagination Issues using WP_Paginate Plugin

So I have read more posts and articles about this issue than I care to admit and still nothing I can find works. Here is the issue - I can not get the pagination to advance and it shows all the same ...
0
votes
1answer
671 views

Display different number of posts from one category on the different pages

according with Pagination with custom loop. I use the custom loop for display flash game. For make a pagination on the page with posts from one category (mydomain/category/categoryName) I used: ...
1
vote
1answer
994 views

Having issues with wordpress pagination with multiple categories

I’m having issues with my pagination in wordpress. Whenever I navigate to my archive section (news category), pagination works correctly. But, the issue lies with the plugin I’m using to generate a ...
0
votes
2answers
560 views

Why are my paginated result links not working?

I've developed a custom post type for WordPress that has quite a few entries that require pagination. I used the *paginate_links* function and it creates the pagination appropriately, rendering links ...
0
votes
2answers
3k views

WordPress pagination with custom post type?

I have searched all over the web to find some solution, but none of them are working for me, can someone help me with this and explain what is wrong? I've spent 3 hours debugging and didn't find the ...
1
vote
1answer
3k views

Custom post type, permalinks & pagination, going wrong

i have a site (http://fashionlog.com.br) with a custom post type 'fotolog' as you can see on the right side. The posts and pagination of the blog (central column) work fine. But when it comes to the ...
0
votes
3answers
4k views

WP_Query Pagination

I am having problems with pagination on category page that lists posts only within a certain category. Here is my code: What happens is the Next link takes to /page/2 but the content stays the same. ...
1
vote
2answers
1k views

Page navigation within a category

I would like to know why my page navigation within a particular category doesn't work. The code seems correct but I never see the pagination links. <?php $my_query = new ...
0
votes
1answer
1k views

Script to Automatically Advance to the Next Page of a Paginated Post

I have a custom post type that is just a paginated post and acts as a slideshow. How can I make it so that the reader can choose an option to have the slideshow advance automatically to the next page ...
0
votes
2answers
1k views

Pagination with custom loop

my question may look like Pagination not working with custom loop, but there is a different. I use the custom loop for display flash game. I want to make a pagination on page games by category. ...
4
votes
1answer
1k views

Display “Page 3 of 5” for a paginated post

I have a custom post type that I want to display the page you are on and how many pages total in this manner "Page 3 of 5" (meaning you are on page 3 of a 5 page post). These don't have to be links, ...
14
votes
4answers
17k views

Pagination not working with custom loop

I've got a custom loop that I'm using to display some Real Estate listings that will be available within 60 days. I'm calling it with the following function: <?php $sixtydays = date('Y/m/d', ...
0
votes
3answers
5k views

Authors list Pagination : result set from $wpdb->get_results()

Using this solution : Paginate result set from $wpdb->get_results() I did make my code for Authors list page template as follow: <div> <table id="mytable"><tbody> <?php // ...
3
votes
1answer
2k views

Changing the URL Structure of a Paginated Custom Post

I have a custom post type for slideshows that creates a paginated post and each slide is a separate page. The data for each slide is saved in the custom fields and each slide has a title set saved in ...
0
votes
3answers
2k views

Having problems with paging

My category.php lists articles on the first page, and on the bottom I have a pager. When I click page 2, the index.php page is loaded and the url looks like this: http:// ...
5
votes
1answer
7k views

Paginate result set from $wpdb->get_results()

Is there an easy way to paginate the result set coming from $wpdb->get_results()? I want to get a paginated list of a user's comments on the author_archive page - some of the users of the community ...
2
votes
1answer
3k views

Custom Post Type Rewrite Rule for Author & Paging?

I'm using WordPress 3.0.1 and I have made custom post-type called 'dienasgramatas'. My plugin also makes custom rewrite rules for displaying all posts from this post type and even custom permalink ...
0
votes
1answer
170 views

How can i call an article from each category and still paginate properly?

I want to have my front page, with three columns, each assigned to a different category. Ideally I would like to query to fetch one post, per column, per page where possible, leaving the column empty ...
6
votes
4answers
6k views

Pagination resolving to first page only

My pagination is only linking to the same posts that are on my front page. I have 3 posts on my front page, when I press next it goes to /page/2 but only shows the same 3 posts, with no previous ...
1
vote
3answers
707 views

Hard code the nextpage tag into my theme?

I have a custom post type for a Slideshow which uses Custom Post Meta to insert the different slides. How can I code the <!--nextpage--> tag in between the sides in my slideshow.php so that they ...
2
votes
2answers
1k views

Displaying Numeric Pagination vs. Previous and Next Links in WordPress?

By default, WordPress shows previous and next links when content is split onto different pages. Is there a way to get it to use proper pagination (with numbers), perhaps with a plugin?
6
votes
4answers
3k views

How to show a single post on the front page but have normal paging?

I would like to have a single post on my front page (always the latest), but let normal paging work. So the front page has post 1, the next page should have post 2-11 (1-10 is fine too), then 12-21 or ...