Breaking up content into smaller-sized pages to be viewed individually
1
vote
0answers
54 views
How to make the link to the category for a post go to corresponding page number in archive?
For instance, I am at http://url.com/single-post and in the post there is a link to the category that navigates to http://url.com/category/page/3/ which is the corresponding archive page that contains ...
0
votes
1answer
63 views
Pagination 404 errors for author posts query on author.php
I'm trying to query all posts by an author and paginate them on the author.php page. I've tried messing with the WP default blogs per page settings and that doesn't help. I've looked at other posts ...
0
votes
2answers
399 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 ...
0
votes
1answer
51 views
Loop being strainge
So I hacked together a function that does the following:
protected function _query_post($query){
$original = $this->_wp_query;
$wp_query = new WP_Query($query);
...
0
votes
2answers
402 views
Show different number of posts on second page of category
On the first page of a specific category, I want WordPress to show 4 posts per page. On the following pages, however, I'd like to have 6 posts per page. I tried using a conditional query (see below), ...
2
votes
2answers
2k 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 ...
0
votes
2answers
117 views
Pagination for custom post type not working [duplicate]
Possible Duplicate:
Pagination not working with custom loop
So I have a post type called portfolio, but I can't get it to paginate.
I'd also like it to paginate on single pages so each item ...
0
votes
1answer
177 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 ...
1
vote
2answers
227 views
Wordpress triggers 404 on page 2 for custom search query
I modified my index.php to check if the search query is an author and if yes, display articles of that author.
That is working fine but as soon as you go to page 2 of the results, wordpress triggers ...
0
votes
0answers
18 views
Custom Pagination for a Page with Comments [duplicate]
Possible Duplicate:
Pagination not working with custom loop
Hello everybody and good even.
The Problem:
I have a Page where the comments are listed like the posts a displayd in a ...
0
votes
0answers
33 views
Pagination issue [duplicate]
Possible Duplicate:
Pagination not working with custom loop
Custom Post Type Pagination & duplicate posts
Content is duplicating on one particular page template only - the photo ...
0
votes
0answers
15 views
Have custom number of blog posts on homepage with working pagination [duplicate]
Possible Duplicate:
How to show a single post on the front page but have normal paging?
My question is similar to How to show a single post on the front page but have normal paging?. The ...
0
votes
1answer
171 views
Pagination breaks on child-categories, works fine on parent-category
I have two parent categories, and pagination is working fine on them - the paged url's show as:
/parent-category-1/page/2/ ... etc
/parent-page/parent-category-2/page/2/ ... etc
However, when I go ...
3
votes
1answer
1k views
Modifying WP_LIST_AUTHOR Functions to output all users in a grid (and Paginate)
The title says it all.
I've been taking WP_LIST_AUTHOR and modifying it to create more of a member directory than just a list of authors while leaving a lot of the original options intact (and I am ...
1
vote
1answer
117 views
pagination doesn't show up for custom post type
Another user on here suggested that my use of queries was incorrect so I'm changing the code. However, the pagination in the first block of code (below) isn't showing up in the HTML while the second ...
0
votes
1answer
541 views
Comment submission & navigation redirects to default language
I'm using qTranslate for multi-language & wp-commentnavi for comment navigation. The style of my base permalinks are like so:
site.com/ -> for default language
site.com/en/ -> for ...
1
vote
1answer
185 views
How can i retrieve default post per page value? from settings->reading. And total number of posts?
I want to retrieve the default value of Post per page (the value that is set in settings->reading.
I've looked around and so far I've only found ways to query it. problem is i dont want to change ...
0
votes
1answer
63 views
Pagination issue with Single.php
I am having issues understanding the worlds most simplest concept when it comes to building a single.php file and using pagination.
The code bellow shows a wordpress loop, its contents and then ...
-2
votes
1answer
62 views
Pagination not working properly
I have a list of posts from a category as seen here in this example. The problem is, if you scroll down to the bottom and click older, you'll see that the posts on the page have not changed at all, ...
0
votes
1answer
54 views
Unable to Change “Pages:” Before WP_LINK_PAGES
Below is a functions.php code for wp_link_pages which allows pagination and previous/next links to be displayed. It also wraps each pagination link in a span class called "classlinks".
I need to ...
0
votes
1answer
191 views
paginate_comments_links() not working
I'm using paginate_comments_links() to get all the comments by the current user:
<?php
global $current_user;
get_currentuserinfo();
$userid = $current_user->ID;
$args = array(
'user_id' ...
0
votes
3answers
235 views
How to get my loop to paginate?
Below is a snippet of code that appears on one of my pages called: Featured. I created a template and then respectively created a page and activated the template in the wp-admin. However when I click ...
0
votes
1answer
71 views
query posts returns 10 records
I am using the following code to fetch records from a custom taxonomy.
if ($_GET['post_type'] == "developments"){ ?>
<?php
global $wp_query;
...
0
votes
1answer
115 views
Change permalink structure for pagination only
I am using following functions to display pagination on archive pages of my site.
<?php previous_posts_link('< Previous', $loop->max_num_pages); ?>
<?php next_posts_link('More >', ...
0
votes
1answer
96 views
Pagination for normal (standard) posts on a page with a custom loop?
probably a rather straight forward question.
my "homepage" is not the blog-page. I have a page-template named page-knowledge.php which has the following loop on it.
<?php
echo '<ul ...
5
votes
1answer
67 views
Allow variable amount of comments before pagination
There is an option in the admin settings allowing you to define how many comments should be listed before creating a new page for the next ones. I would like to have the same number of comments for ...
4
votes
1answer
262 views
Aggregate comments, with pagination
I want to build a page that would display all comments, regardless of which post they're attached to. I also want that page to be paginated, since it'll potentially have 10,000+ comments.
I'm not ...
0
votes
1answer
95 views
Changing Link Attributes for Wp_Link_Pages
I'm wondering if there is any way to change the actual link itself for wp_link_pages. So right now, I have a simple code to display the pagination for a post, it looks like this:
<?php ...
0
votes
0answers
336 views
isotope grid overlapping when using Load More Ajax plugin [closed]
Im using the load more posts plugin from
Plugin
But having some issues with the grid overlapping when loading more posts any idea how this can be resolved or anybody experiencing the sam issues?
3
votes
2answers
177 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
1answer
80 views
Custom pagination code is not working
I am using the below code for pagination. However, it is not working. It's showing all of the pages numbers nicely, but when I click on a page number the first page is always displayed.
global ...
2
votes
2answers
387 views
Next_posts_link() works only with original $wp_query
I've got custom template that I want to display paged blog posts. This is the beginning of my file:
$wp_query = new WP_Query($args);
if($wp_query->have_posts()){
...
0
votes
1answer
422 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, ...
0
votes
7answers
2k 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
1answer
92 views
Having trouble generating pagination links on custom query
I'm using a custom query on a page after the initial loop to list some posts from a category I'm associating with that page. Im doing this:
query_posts(array(
'category_name' => $name,
...
2
votes
1answer
38 views
How to no follow the paginated comments
I am trying to find a way to add rel="nofollow" to my comments pagination links.
Can anyone provide me with a hook or way to do so?
0
votes
1answer
40 views
Pagination Adding Numbers in Strange Fashion
Below is my pagination code. It can be seen in action at this link. When I start on page one it displays the first 3 pages and page 9 (the last page). When I go to the second it displays the first ...
0
votes
1answer
430 views
Remember form field values with page navigation
I have a form on a page template that controls which posts show up on the page and how those posts are ordered. You can see what I mean here: http://www.theseattlevine.com/the-vine
The questions I ...
0
votes
1answer
44 views
Check if “Break comments into pages” is selected
I am working with a paginate_comments_links() function and the thing is that I have customized it slightly (wrapped with a div), I need to check if check box "Break comments into pages..." in WP admin ...
0
votes
2answers
67 views
page 1 is not paged
I have rules that only work on paginated pages (is_paged). However, they don't work on page number one (/page/1). This one is behaving exactly like the homepage (!is_paged), but unlike pages 2,3,4 ...
0
votes
2answers
88 views
Why won't my paged wp_query work? [duplicate]
Possible Duplicate:
Pagination not working with custom loop
Any ideas why this paged wp_query doesn't seem to want to work?
I've tried replacing the pt_pagination function with the default ...
6
votes
2answers
316 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 ...
1
vote
2answers
1k 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
182 views
Custom query (author is post_author or meta co_author) with Pagenavi pagination
I need to create a custom query for the author archive (where the author is post_author OR is a meta co_author), and it have to work with WP Pagenavi.
The query is something like this (omitting $wpdb ...
1
vote
1answer
276 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 ...
0
votes
1answer
48 views
Add tags to long page that is broken up into subpages?
I have a long document that I am publishing as a page and splitting into sub-pages using page breaks <!--nextpage-->.
I am trying to find out if it is possible somehow to add tags to these ...
0
votes
1answer
98 views
Too many posts cause slow load when paginating
I have about 10k posts and I made a page that lists all posts but it is paginated every 54posts. It gives 131 queries in 6.730 seconds which is pretty slow to load. Is there a way to make it load ...
0
votes
0answers
27 views
Wordpress Custom Post Type Pagination Issue [duplicate]
Possible Duplicate:
Pagination not working with custom loop
Both me and my friend are completely bamboozled as to whats going on here. The quest is to have standard pagination linking from ...
0
votes
1answer
70 views
How do I paginate a custom post type listing on a custom template page?
I've got a page template called tpl-memos.php which is attached to a page called 'Memos' with a parent page called 'About', the permalink for the page therefor is example.com/about/memos. On this page ...
0
votes
1answer
97 views
Pagination not working on homepage
I tried multiple solutions but its not working.
When I go to /page/2, it doesn't work.
I'm executing custom query in index.php of my theme.
if ( get_query_var('paged') ) {
$paged = ...