Enhancement for paginate_links(); to include in wordpress core — at Version 1
|Reported by:||Danielx64||Owned by:|
Description (last modified by SergeyBiryukov)
I asked a question over at theme-reviewers  and one of the answers
(and a helpful one) was that any improvement/s that I find could be
push back into the core.
The first thing that I would like to see is a "Page x of x" and make
it a link to that people can click on it and enter the page munber
that they want to go to then they can go stright to that page.
Now I did find some code to do it but for some reasons I don't feel
that it the right way of doing it.
The next thing that I'm looking at is if we can have it so that we can
set our own style class or even replace tags altogether. Right now the
only way that I can do this (as far as I know) is by editing core code
or copy and paste code from care into my function.php file and rename
I see that with the sidebar callback, I can set before and after tags
for title and other things and that to the theme author gives us alot
of control over layout and how we can style things.
The reasons why the above improvements should be included in core:
A: No need to create custom functions
B: Don't need to install extra plugin just to get the "Page x of x"
function or to create a hacked paginate_links function.
C: It gives theme developers more control over style without alot of
extra coding and if they don't want something they can disable it
(example "Page x of x")
D: It means that if wordpress devs change the paginate_links function
theme authors don't need to update their custom functions [see A]