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

learn more… | top users | synonyms (1)

1
vote
2answers
628 views

Post timeline (pagination with date, not numbers)

I'm pretty lost... I'm hoping someone can lead me onto the right track! I'm trying to achieve the effect of a post timeline, by paginating the posts (1 per page) and rather than displaying the pages ...
0
votes
1answer
2k views

Adding paging to get_posts()

I'm trying to add paging to the query below. However, I can't seem to get the paging to work. It shows previous/next links, however, they always show the same 2 posts. There are 8 posts in this query. ...
0
votes
2answers
452 views

Make posts_per_page value the same on all pages

I'm almost finished with this one, just a small problem left. Hope you can help me. I've got two very simple, custom loops. One for sticky posts, and one for non-sticky. I've manage to get the sticky ...
0
votes
1answer
1k views

Multiple loops on index page with sticky post and pagination

First post on this site. Hope to get some help from you guys. Probably a simple answer for you experts. I have two category's (news & work). I want to show on my index page (wordpress ...
6
votes
2answers
904 views

Problem with add_rewrite_rule and pagination (paged and page query_vars)

I have a custom taxonomy named location and I want to add sections like 'news' and 'marketplace' for each term, so my url looks like /location/montreal/news/ It works perfectly until I try to add ...
0
votes
1answer
930 views

Pagination problem by using WP_Query

Sorry for me, if I use incorrect words or sentenses, my English is poor, i.e. I'm from Russia. I have problem with pagination by using WP_query and pagination links like next_posts_link and ...
2
votes
2answers
3k views

Show Previous/Next Posts navigation only inside the same category

Is it possible to force previous/next navigation to browse through the posts (back and forth) that are only inside the same category (and to exclude other categories)?
0
votes
3answers
1k views

Generating rel=prev and rel=next only on wordpress categories

I was trying to remove the rel=prev and rel=next tags from my website as my SEO gut suggested. I found those functions which perfectly do the magic: remove_action('wp_head', 'start_post_rel_link', ...
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 ...
2
votes
3answers
951 views

Pagination on custom query

I'm using the following code with query_posts to put together a custom search: $args = array( 'post_type' => 'species', 'meta_query' => $meta_query, 'tax_query' => $tax_query ); ...
2
votes
1answer
477 views

How can I paginate image attachments in a post?

I have a post with attached images and I was able to display the images but I'm can't seem to find a way to paginate the results. I am using get_children but now I'm wondering if my method of ...
1
vote
1answer
5k views

Multiple WP_Query loops with Pagination

There are a few other questions about this (and WP_Query pagination seems to be a huge question for a lot of people) so I'm trying to narrow down exactly how to make it function. I'm able to create a ...
-2
votes
2answers
2k views

Pagination on category pages using wp_pagenavi causes 404 errors

Pagination for a custom post type in category.php returns a 404 page for /page/2. If I go to /page/1 it redirects and works fine, but /page/2 breaks. Permalinks are set to /%postname%/ I've tried ...
1
vote
1answer
2k views

pagination not working for category.php (custom post types in categories)

it works everywhere on my site but it isnt working in category.php. When i click page to it goes to... domain.com/category/cat-slug/page/2 by the way this is showing custom post types within certain ...
0
votes
0answers
616 views

How do I paginate a get_posts() request inside another page loop (Paginating childpages)

The heading says a lot, so I'll repeat it here "How do I paginate a get_posts() request inside another page loop?" I'm using a page to display child-pages and I need to paginate them. Edit: Should I ...
2
votes
3answers
2k views

Non existing blog pages are not redirected to 404

I've got a page called Blog. In the Settings -> Reading I've set my Blog page as Posts page. In the menu when I click on the Blog link the posts are loaded correctly and pagination works, so far so ...
0
votes
1answer
214 views

Pagination not working

$paged for pagination is awlays returning 1, so no matter what page i click "1" is always highlighted and it always shows the same posts. i have tried a million different combinations of things to fix ...
2
votes
2answers
9k views

Show posts of category in a page

I would like to be able to display all the posts in a certain category on a page so that all posts are on that one page and there is no pagination. If possible, I would also like to display a short ...
1
vote
1answer
2k views

Custom paging function

I use this code for my custom paging : global $wpdb, $table_prefix, $current_user; get_currentuserinfo(); $umail = $current_user->user_email; $paged = $wpdb->get_results("SELECT * FROM ...
0
votes
1answer
1k views

Pagination throws 404 error on custom taxonomy archive pages

I have created a custom taxonomy for a custom post type called "portfolio" like so: function jvs_portfolio_categories_init() { register_taxonomy( 'project-category', 'portfolio', ...
0
votes
1answer
954 views

Ajax (jquery) wp_query pagination returns -1

I am currently developing an ajaxified theme for wordpress. I am listing the posts in a particular category, but the pagination returns -1 when clicked. Lets say I set showposts to 3 and a particular ...
1
vote
1answer
364 views

Admin Panel pagination link styles

Whenever I write plugins that use Admin Panels, I include some form of pagination using the paginate_links method and I have always been able to style them in a nice way using the suggestions on this ...
2
votes
1answer
1k views

Pagination for custom query on single.php

I'm building a site and the basic structure on most pages is as follows: <!-- content query --> <!-- recent posts preview query (paginated) --> <!-- related posts preview query ...
0
votes
2answers
2k views

Pagination Not Working (pages duplicating content)

My pagination pages echo out the same content on every page. Page one is queried to show two posts, which it shows up correctly. Page two shows the exact same two posts as page one does. Here is my ...
0
votes
3answers
1k views

Single parent post lists child posts with pagination

I would like to build on this answer so I can incorporate pagination and a couple of other features. We have over 1,600 entries in our Glossary so certain letters have far more than 20 (my max ...
1
vote
1answer
1k views

Static front page with recent posts pagination

Is it possible to include index pagination on a static front page? I have a child theme of twenty eleven and I am attempting to have a home page where there is a slider for sticky posts followed by ...
2
votes
1answer
5k views

Why is “/page/2/” not working?

Finally got pagination to work with the below code, but now the pagination links to /videos/page/2/, which doesn't exist. How do I get page 2 to work? <?php $temp = $wp_query; $wp_query= null; ...
0
votes
1answer
1k views

Pagination in author, category, archive and tags pages does not work

I have implemented a no-plugin pagination taken from here: http://www.kriesi.at/archives/how-to-build-a-wordpress-post-pagination-without-plugin It's works perfecto un normal loop but when I try to ...
0
votes
2answers
315 views

Why won't pagination work?

I am using a page template with code to display all blog posts: <?php /* Template Name: Blog */ ?> <?php get_header(); ?> <div id="main"> <?php // ACF Page number variable ...
1
vote
2answers
768 views

tag.php pagination and query_posts()

Having some issues on the tag.php page. Right now it just give me a "nothing to show" If I have no query it shows posts, but I want to change the number of posts per page. Changing the reading ...
4
votes
1answer
787 views

WordPress search: pretty URLs (permalinks), custom post types and pagination

I have three separate search boxes on my website: species CPT search, glossary CPT search and a general search which I'd like to search post and species post types. My questions are threefold, ...
1
vote
1answer
335 views

How to set up pagination [closed]

This sounds simple enough but I'm finding it impossible to implement. This is my website, you can see that on the homepage there are post excerpts but I am only showing 15 posts out of about 25 by ...
1
vote
7answers
5k views

Paginate Custom Post Type Page

I created a page for my custom post types. The code can be viewed on Snippi: http://snippi.com/s/e8852rx I'm trying to insert paginate_links, but for whatever reason it's simply not showing up. ...
0
votes
2answers
569 views

Different layout on second page

My homepage has 1 featured post, followed by 4 posts stacked 2 on 2, like this: The featured post is only shown on the first page so the second page shows the older posts stacked 2 by 2 as above. ...
3
votes
2answers
294 views

Pagination for sub-pages

I have a top level page with a lot of subpages. When a user visits the top level page they currently see the titles/thumbnails/excerpts of all of the subpages. How can I paginate the display of the ...
0
votes
3answers
749 views

Hide featured post on second page

I have a index.php with a featured post and a number of other posts and the standard wp_pagenavi at the bottom. I'm using the 2 loops from the wordpress codex like this: <?php $my_query = new ...
1
vote
1answer
600 views

PHP code to use on next & previouspage links

I'm having an issue with wp_link_pages tag. I want to list the number of pages of each post with 'next' and 'previous' links that are two image arrows. To better understand the problem I'm having, ...
6
votes
1answer
397 views

post pagination names, not numbers

currently, using <!--nextpage--> on a post pulls just numbers. What I would like is to be able to name each page break, and then call the name instead of just a number. Something like: ...
1
vote
1answer
699 views

posts_per_page & pagination conflict

I have a custom query to display my custom post type. posts_per_page set to '5'. In admin post per page set to '10' (settings => Reading => Blog pages show at most 10 posts) My template lists 5 posts ...
0
votes
2answers
3k views

Post Pagination Showing Same Posts Every Page

So I have this blog that filters by category Then by city. Somewhere while creating the filtration I broke the pagination which seemed to work fine earlier. It doesn't work on my homepage where it ...
2
votes
1answer
1k views

Frontpage pagination issue with paginate_links() function

I'm using following snippet to output pagination: // get the current page if ( get_query_var('paged') ) { $current_page = get_query_var('paged'); } else if ( get_query_var('page') ) { ...
2
votes
1answer
146 views

Force category-slug.php to show page, even if it doesn't exist

I have a custom query in category-slug.php, which works fine unless the category doesn't have that number of pages itself. If the category only has 5 pages of posts, but the query I put in has 7, ...
4
votes
1answer
64 views

How can I see all of a post's comments on a single page as a reader, if pagination is enabled?

Is there an URL I can access, or an argument that can be passed, to disable pagination on the reader's side? The blog uses standard Wordpress comment pagination, i.e., ...
0
votes
1answer
2k views

How do I paginate a list of categories?

I recently added thumbnails for my categories, which has had the side effect of making the page they are listed on unbearably long. Because of that, I am hoping to paginate the list of categories. ...
0
votes
1answer
190 views

Wordpress pagination with wp_query_columns

I'm using the code from here to split my loop up in to columns. The columns work. I have 7 posts in the databese and showposts set to 6. I cannot get nextpage link to show? I have a $paged variable in ...
4
votes
1answer
360 views

Query causing load because of SQL_CALC_FOUND_ROWS post counting?

I found this query causing some load in the server, my hosting provdier asked me to look on it. SELECT SQL_CALC_FOUND_ROWS wp_posts I think this select no. rows found in wp_posts table.. but i ...
1
vote
2answers
2k views

Next and Previous buttons for navigation

I purchased the Nuke theme and added a custom page template using the code from page.php as a framework. The only code I added was a loop to pull 5 posts from category ID 12. I would like to add ...
0
votes
1answer
685 views

Can I paginate this get_attachment query?

Yeah, basically I want to be able to show 15 images attached to a certain page and have pagination when the page has more than 15 images. I'm not very well versed on this kind of query so I'm a bit ...
2
votes
2answers
1k views

Broken pagination

Well I'm here again with almost the same problem as I had in this post three weeks ago, but let me explain what has happened since then: I was originally using one loop to display the most recent ...
0
votes
1answer
667 views

Blog pagination WITHOUT using max_num_pages

WP 3.2.1 I'm in a bit of a bind. I have to create some pagination for the blog, but I believe I'm running into the bug described here, and I don't have authorization to fiddle with the server's ...