I've followed the official documentation to create my archives page: http://codex.wordpress.org/Creating_an_Archive_Index
It works fine exept that "is_archive() returns false when I'm viewing this page.
Any idea ?
|
I've followed the official documentation to create my archives page: http://codex.wordpress.org/Creating_an_Archive_Index It works fine exept that "is_archive() returns false when I'm viewing this page. Any idea ? |
|||
|
|
|
Because an "archives" Page is not an archive index of blog Posts, but rather a Page. An "archives" page is simply a custom Page template, which applies to a static Page. The EDIT Instead of using Alternately, you could use |
|||
|
|