Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8920 closed feature request (invalid)

Comment pagination using numbers instead of "next/previous" links

Reported by: darkpepe's profile DarkPepe Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Comments Keywords:
Focuses: Cc:

Description

Hi,

Will be possible to implement a new system for comment navigation using page numbers instead of next/prev links?

Atm comments-paged plugin uses this system and is very comfortable for the users since you can browse through comment pages instead of clicking next-previous links wich is an actual problem when you have several comment pages, mainly because the users must click several times to get to an specific comment page and they normaly loose track of the conversations.

Example:

                 Pages: [1][2][3][4][5]...[20] >>

Instead of:

<< Older comments                    Newest Comments>>

Thank you.

Change History (5)

#1 follow-up: @ionfish
15 years ago

  • Milestone 2.8 deleted
  • Priority changed from high to normal
  • Resolution set to invalid
  • Status changed from new to closed

This functionality already exists. Try using the paginate_comments_links function, with 'prev_next' => false.

#3 in reply to: ↑ 1 @DarkPepe
15 years ago

Replying to ionfish:

This functionality already exists. Try using the paginate_comments_links function, with 'prev_next' => false.

Where is that function documented? I cant find anything related atm to give it a try. Can you please put me on track with this? Thanks.

@GamerZ: Very nice solution! Thank you!

#4 follow-up: @ionfish
15 years ago

It's documented in the code.

#5 in reply to: ↑ 4 @DarkPepe
15 years ago

Replying to ionfish:

It's documented in the code.

I didnt find anything related in the codex, so i took the liberty of writing a page about what I know about this function:

http://codex.wordpress.org/Template_Tags/paginate_comments_links

Probably it needs a better explanation.

Thank you!

Note: See TracTickets for help on using tickets.