WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Polylang] get_author_posts_url is 404

[Resolved] [Plugin: Polylang] get_author_posts_url is 404

  • I used the get_author_posts_url function to generate the author page link, but the link comes back with /en/ and that isn’t valid since author pages aren’t language specific it seems.

    can we make the /en/ links work (only show posts for that author in that language)?

    can we make the function not return the language?

    Thanks,
    -Steph

    http://wordpress.org/extend/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    @chouby

    You found a bug… The normal way of working is that get_author_posts_url is filtered to add the language parameter. Then the author archive page is filtered to display only posts written by the author in the current language. I will correct this in 0.8.2. You can already download the development version to benefit from the bug correction.

    0.8.2 fixed it. THANKS!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Polylang] get_author_posts_url is 404’ is closed to new replies.