ok, can you define what you mean by ‘customisation’? do you mean style, or say entries per page or what ?
Sure!
I’d really like to just be able to access the raw data so that I can style it myself with say Bootstrap + custom CSS.
e.g.
“Posts: 25 [showing 11 to 19]”
“<- 1 2 ->”
So I would need the total replies for the current topic, current page, etc. And I would need to create the necessary links to then show the next / prev set of posts (or topics).
ok, to save me searching where is ‘I can see where this is being generated in the bbpress plugin PHP code’
It looks like the default pagination details are being generated like this:
plugins -> bbpress -> templates -> default -> bbpress -> pagination-topics.php
Inside this module are these calls which go into the plugin:
bbp_forum_pagination_count()
bbp_forum_pagination_links()
These are both defined in:
plugins -> bbpress -> includes -> topics -> template.php
both those functions have filters, so you could quite happily amend them using a filter, which would then not be affected by plugin updates
Oh, excellent – that’s perfect, I’ll look into doing it that way – thanks very much for taking the time to answer!
I managed to get the page counts how I want using a filter – however, for the pagination links, this looked a bit beyond me, so I resorted to hacking the generated HTML in Javascript to create the markup I wanted … and it looks pretty good now.