0
votes
0answers
18 views

Paginate Comments Using WP_Comment_Query

I'm creating a page of all comments on my site. The below query is basically what I need except I want the option to paginate through all the comments instead of loading them all on one page. I've ...
0
votes
0answers
39 views

Comments pagination and WP_QUERY

I have a list of posts using wp_query On each post theres a list of comments What Im trying to do is to limit the number of comments to 2 and display a link for the next page of comments which I'm ...
0
votes
0answers
84 views

Comments orderby comment date not working

I have a template to get the comment replies to a user and display it on a static page. It works reasonably well in so far as the correct comments are displayed but whatever I try I can't get the ...
0
votes
1answer
41 views

Comments Pagination as an unordered list

I am currently using <?php paginate_comments_links(); ?> to display comments pagination. How can I customise this so that it uses a UL and LI? (Such as is possible with custom post pagination). ...
0
votes
1answer
44 views

How to get the number of pages when paginating comments?

I want to display threaded comments via ajax using pagination. If I use this code to display comments for page 1 how can I know if there is something more to be displayed on page 2? If there is ...
1
vote
1answer
26 views

How do you turn on comments for only the last page of a paginated post?

I have a single post with page breaks, but I only want to show comments and the ability to comment on the last page. Is this possible with WordPress?
0
votes
1answer
83 views

<!--nextpage--> assumed as comment line

I created very simple php loop which generates image links for given number. This is the code <?php $im = stripslashes(get_option('tm_alim')); for ($i=1; $i<=im; $i++) { echo "<img ...
0
votes
1answer
68 views

Customizing Comments on Posts

I have implemented custom code for generating comments on post page using callback function in functions.php. function MYTHEME_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ...
0
votes
0answers
28 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 ...
2
votes
1answer
87 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?
5
votes
1answer
82 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
630 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 ...
5
votes
2answers
382 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 ...
4
votes
1answer
60 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
224 views

Comment Pagination

I am hoping someone can help me with comments pagination. I have the pagination working and the links point to the next page etc, but when clicking the page just refreshes. Here is my code so far and ...
0
votes
1answer
797 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
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
368 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 = ...
0
votes
1answer
267 views

If paginated comments don't span to a second page, how do I hide the div wrapper?

I have a div wrapper around my comments pagination. I have the comments set to paginate in the Wordpress admin at 10 comments per page. I want to hide the div wrapper if there are less than 10 ...
1
vote
1answer
571 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" ...
5
votes
1answer
6k 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 ...