WordPress.org

Support

Support » How-To and Troubleshooting » How to use wp_get_archives with format = option ?

How to use wp_get_archives with format = option ?

  • Can anyone help me sort this out please? I’m very confused.

    How am I supposed to use the wp_get_archives function?
    I’m using it with the format=option set, i.e.:
    <?php wp_get_archives(‘type=monthly&format=option’); ?>

    It creates a list of options, with the full URL for the selected one as the value. But what form code do I have to wrap this with to navigate?

    Thanks,
    Pete.

  • The topic ‘How to use wp_get_archives with format = option ?’ is closed to new replies.
Skip to toolbar