Timeline for Category Template: Need to display different content on first page of archives
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 3, 2015 at 10:22 | review | Suggested edits | |||
Apr 3, 2015 at 10:47 | |||||
Oct 8, 2014 at 4:41 | comment | added | norbert |
I actually had the same problem, but since WordPress shows the first page not as ../page/1 but simply as ../ , and get_query_var returned 0 on this page, while 2,3,... on all the later pages, I at the end used if (get_query_var('paged') == 0){ /* do first page thing*/}
|
|
Jun 25, 2013 at 21:23 | comment | added | Rarst | Works in informational way, but getting non-consistent amount of posts per page correcty is waaay more convoluted. :( | |
Jul 22, 2012 at 17:08 | history | answered | Sisir | CC BY-SA 3.0 |