• Resolved smakkie

    (@smakkie)


    On my blog I would like to have a seperate page that shows the archives, not a list in the sidebar.

    I tried placing <?php wp_get_archives('type=monthly'); ?> in a page, but PHP-code in a page is not parsed, so that’s kind of a problem.

    Is there an easy way to do this?

Viewing 1 replies (of 1 total)
  • No, you cannot use php code in the “content’ area of the posts or Pages.

    Workaround:
    a) find a plugin that lets you execute PHP code in posts/Pages
    b) or, put your code a Page templates (see the Codex) and create new Pages using the template

Viewing 1 replies (of 1 total)
  • The topic ‘Archives on a page’ is closed to new replies.