Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#8920 closed feature request (invalid)

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

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

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
18 years ago

  • Milestone 2.8
  • Priority highnormal
  • Resolutioninvalid
  • Status newclosed

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

#3 in reply to: ↑ 1 @DarkPepe
18 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
18 years ago

It's documented in the code.

#5 in reply to: ↑ 4 @DarkPepe
18 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.