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

learn more… | top users | synonyms (1)

0
votes
1answer
151 views

Change pagination in editing posts [duplicate]

Possible Duplicate: display all posts in wordpress admin How do I increase the pagination limit in the edit posts admin section (edit.php)? Thank you.
1
vote
1answer
783 views

Pagination is not working wp_query custom fields values

All I want those post having post_type == profile And wpcf-gender == 1 (male). I tried this code $wp_query = new WP_Query( array( 'meta_key' => 'wpcf-gender', 'meta_value' => ...
0
votes
1answer
136 views

Custom Query Not Paginating

I have a site that uses a custom query to filter posts: <?php //Search Region table to retrieve array of country names $regionresult = mysql_query("SELECT * FROM gallery_regions WHERE ...
0
votes
1answer
202 views

Theme Option not Working Inside a Function

Earlier, I asked this question and received a code which should work. Unfortunately, this code is not working. I'm building a themes option panel and want users to be able to choose between ...
0
votes
1answer
627 views

paginate_links() on page (shortcode output)

On a standard WordPress page, I have a WP Query that runs through a post type I created. Along with that query, I am using paginate_links() to generate pagination. While the standard (no permalinks) ...
0
votes
1answer
403 views

Paginate the_content automatically? [duplicate]

Possible Duplicate: Automatically create pages in a post based on number of words Can Wordpress automatically paginate large amounts of content? A user wants to enter a document that is ...
3
votes
1answer
4k views

How to display pagination links for WP_User_Query?

I think I'm nearly there with this, but I can't get the pagination links to show for a directory of authors I'm creating. My code is below, but I don't know how to get the links to navigate between ...
0
votes
1answer
591 views

Replacing global wp_query

I have a site that uses a custom query to search for posts by country. The search results come back fine, but the pagination at the bottom reflects the total number of posts in the site, instead of ...
0
votes
1answer
657 views

paginate_links() with Custom Taxonomy

I have a custom taxonomy that is pulling in a list of posts assosciated with it. Previously - in the $posts_args array, I set the post_per_page option to -1 but realized pagination should be added to ...
5
votes
6answers
5k views

How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]

I've also posted this on the wordpress support forums, for scribu's wp-pagenavi plugin: http://wordpress.org/support/topic/plugin-wp-pagenavi-custom-query-form-submit-part-2?replies=1 My situation: ...
6
votes
2answers
6k views

Change the “page” slug in pagination

Simple question. When pagination is activated, the URL changes to "site.com/page/2". For my site, this should be "site.com/paggetto/2". How can I change that rewrite rule? I also want to change ...
0
votes
1answer
206 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 ...
1
vote
1answer
152 views

Template hierarchy about pagination after front-page.php

Quick, simple. I have front-page.php working in Wordpress, and these loops over the main loop for my latest posts. The problem is the pagination template. When I get to site.com/page/2, it shows the ...
0
votes
1answer
1k views

wp_list_categories pagination

I was wondering if I can paginate wp_list_categories? I had a go with paginate_links but no luck. Or is there a good workaround? Thank you!! <?php $orderby = 'name'; $show_count = 0; ...
4
votes
1answer
1k views

next_posts_link not working for loop called with ajax

On my homepage I display a loop of posts that I allow to be replaced by ajax search results and other custom loops. Those results are returned in a template with a custom wp_query. The issue is ...
1
vote
1answer
605 views

Limit the number of pages created by the paging

Any way to limit the number of pages that are created automatically by paging? I would limit to five pages in all, authors, tags, categories ... Ex: "site.com/tag/news/page/5", ...
1
vote
1answer
1k views

Custom Post Type Pagination Doesn't Work in Wordpress 3.4

I have a problem when using Wordpress 3.4. My "Products" custom post type pagination doesn't work. Here is the code I use $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $loop = new ...
0
votes
1answer
207 views

Pagination broke after updateto Wordpress 3.4 [duplicate]

Possible Duplicate: Custom Post Type Pagination Doesn't Work in Wordpress 3.4 I updated to wordpress 3.4 and after so my pagination broke showing not found on page/2 etc. I am using ...
0
votes
1answer
198 views

Pagination/404 I believe wp is getting a page ahead of itself

My site is using the Faceted Search Widget upon reaching an archive page. The widget works fine provided you stay on the initial archive page, but if I try using it on the second page of the archive ...
0
votes
1answer
167 views

Need help getting this page nav working correctly [closed]

For some reason the page nav doesn't work correctly. It's styled odd on the home page, then if you go to a page you'll see it really looks odd. I can't figure out what's happening. If anyone has any ...
0
votes
1answer
70 views

Hide content after going to page 2 of archive, show content when back at first page

I want to hide the content below when the user uses pagination to move from the initial page of the archive (page 1). Is there some way of detecting whether or not the current page is page 1? Content ...
1
vote
2answers
934 views

wordpress post pagination with image buttons?

I'm trying to make a post pagination like this: button left image | 1 2 3 4 5 |button right image but I can't get it work. I've tried: <?php ...
1
vote
1answer
75 views

Custom Page Template for “Older Posts” Pages

My home page feed has a variety of items including a featured post and other features that I'd only like present on the home feed. When a user clicks on pagination to load older posts, I'd like to ...
0
votes
2answers
447 views

How can I use the WordPress Loop and Pagination in multiple instances but different scenarios throughout my site?

I am using the Starker Theme as a foundation to build my custom WordPress theme. The Starker Theme comes with a loop.php file for setting up the main loop. I decided to use the loop.php file to ...
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 ...
1
vote
3answers
3k views

Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?

I have spent hours today on a maddening issue I was having with displaying a custom post type. Everything displayed beautifully, except the pagination simply would not work properly. I have a ...
5
votes
2answers
476 views

Reverse comment pagination numbers

I would like to reverse the comment pagination numbers so that the newest comments show on page 1 instead of the last page. I did an array_reverse for the comments_array and set the Wordpress ...
1
vote
3answers
459 views

Allow Users to Choose Pagination or Next/Previous (Combine)

I'm building a themes option panel and want users to be able to choose between Next/Previous links or pagination in my archives and homepage. I need help combining the two functions below (pagination ...
1
vote
1answer
480 views

How can I paginate a list of related posts?

My client's home page displays a paginated list of posts with thumbnails. Each list item, when clicked, navigates to a single post or page, and then uses a separate query to generate the same list of ...
0
votes
1answer
667 views

How do I get my loop.php to properly paginate?

I am using the Starkers theme as a foundation to build my theme and I am having difficulty getting my loop.php to paginate posts properly. When I click the "Next" or "Previous" post pagination button, ...
-1
votes
2answers
764 views

Gallery Pagination by Row

I created a picture gallery at: http://ellenandjosh.com/?page_id=5. Currently, I have a loop that displays pagination after a certain number of images : http://pastebin.com/N6nRRUei. Normally this ...
0
votes
3answers
3k views

Query with pre_get_posts to get pagination

After pretty much getting everything working with query_posts, I noticed my pagination wasn't running. I was told pre_get_posts should be the solution. My problems: I don't know how to pass all my ...
0
votes
2answers
966 views

query_posts pagination will always show identical content

Anyone here see why my pagination won't work? I can get "previous page" to show up, but when navigating to "page-2", the content will stay identical to the content on "page-1". <?php /* Template ...
0
votes
2answers
1k views

How to filter a static post page with ajax and $wp_query

I'm at a loss, I've found several unanswered questions related to this one. I have a static post page which has a search form in the sidebar. What I want to happen is to type in a keyword and then ...
0
votes
2answers
296 views

Problem with wordpress pagination

First of all thank you everyone for all the knowledge base i got reading trough stackexchange. For the first time i couldn't find an answer to my problem. The matter is that with this custom query ...
2
votes
1answer
452 views

How can I get all posts data from within a paginated search result?

Let's say I'm doing a search on my site, and get 50 posts as a result. The pagination is set to 10 posts per page, so I have 5 pages of results. When I'm on the first page of results, if I inspect ...
0
votes
1answer
831 views

pagenavigation not showing the next page just linking back to the main page [closed]

Using this on my index.php <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?> Using plugin: WP-PageNavi Wp Pagenavi Style Not sure what information you need to help me fix ...
2
votes
2answers
4k views

WordPress Paginate $wpdb->get_results

Due to a complex multisite config, I have a query which combines the posts from two blogs and I would like to paginate the results. I am grateful for any help. I have posted my query. ...
1
vote
3answers
3k views

query_posts and pagination, still stuck after much research

I need to paginate some custom posts...I can’t see why but I’m getting 404’s when going to the next page. Here’s my code: $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( ...
1
vote
2answers
1k views

Pagination: How do I always show 'previous'?

I am using the following code for my pagination. // Pagination function my_paginate_links() { global $wp_rewrite, $wp_query; $wp_query->query_vars['paged'] > 1 ? $current = ...
3
votes
3answers
4k views

paginate_links() adds empty href to first page and previous link

This is really weird. In attempting to solve this problem i ended up with an almost perfect use of paginate_links() instead of a custom pagination function: $myquery = new WP_Query($args); $paged = ...
1
vote
1answer
711 views

wp_logout_url redirects to incorrect page because of pagination

Following a Wordpress Pagination tutorial, wp_logout_url( get_permalink() ); no longer redirects to the correct page. Instead of redirecting to say domain.com/page/2/, it redirects me to one of the ...
0
votes
1answer
592 views

WP_Query pagination using only numbers instead of /page/1 on URL

I don't get whats happening here. I'm on a child-page template, generating a WP_Query for Custom Post Types on the fly, like this: $notrel = new WP_Query(array( 'post_type' => $type, ...
0
votes
1answer
4k views

Wp-pagenavi giving page not found on clicking page 2

I'm getting a page not found when I click on page 2 using wp-pagenavi. This is my code, is there anything obvious there that's wrong? <div class="news-content-inner"> ...
1
vote
1answer
559 views

Use two different post_per_page limits with infinite scroll

I have one loop on my homepage that I use infinite scroll to paginate. To keep the load time of the homepage down, I want to load a smaller initial amount than when the infinite scroll is triggered ...
0
votes
2answers
656 views

Pagination stays on same page for post category

I have a custom taxonomy for a group of posts, and I also have a need to show these posts on a custom page template. I want to show one post at a time, with pagination, so that the user can click ...
1
vote
2answers
680 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
467 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 ...