Timeline for How to style current page number (wp_link_pages)?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 14, 2011 at 8:47 | vote | accept | Drake | ||
Apr 13, 2011 at 17:25 | comment | added | fuxia♦ | @Drake I’m really sorry; I misread your question. My first plugin works for archives only. I made an update with another function to solve your problem. | |
Apr 13, 2011 at 17:23 | history | edited | fuxia♦ | CC BY-SA 3.0 |
Added a second function to answer the question *really*.
|
Apr 13, 2011 at 11:25 | comment | added | Drake | I am testing the code that you linked me, by implementing the different functions in functions.php. Now while debugging I see that $GLOBALS['wp_query'] is set but $GLOBALS['wp_query']->max_num_pages return always 0. Do you have any idea what could be wrong? | |
Apr 11, 2011 at 11:39 | comment | added | fuxia♦ | @Drake I use it as part of my theme framework. Since you probably never let it unstyled it should be okay to use it in your theme. | |
Apr 11, 2011 at 8:00 | comment | added | Drake | Hey @toscho thanks a lot, now I am at work but in next days I will try your plugin for sure. Do you think that is better use it as plugin, or better implement that functions in functions.php of my theme? | |
Apr 11, 2011 at 4:08 | history | answered | fuxia♦ | CC BY-SA 3.0 |