WordPress.org

Support

Support » How-To and Troubleshooting » Bug with wp_get_archives on changed permalinks

Bug with wp_get_archives on changed permalinks

  • My permalink structure for the site right now is set at

    /%postname%/%post_id%

    and that seems to mess up the

    php wp_get_archives(‘type=monthly&show_post_count=true’);

    call.
    The other types of calls to this function (retrieving the entries post by post) work fine. The monthly archives on the site default to sitename/%postname in the URL.
    What am I doing wrong?

Viewing 1 replies (of 1 total)
  • I am experiencing the same problem, I am hoping someone has fixed this issue so that our permalinks can be short and long when required.

Viewing 1 replies (of 1 total)
  • The topic ‘Bug with wp_get_archives on changed permalinks’ is closed to new replies.