Support » Plugin: Polylang » [Plugin: Polylang] get_author_posts_url is 404

  • Resolved djheavenly


    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?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author 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 ‘[Plugin: Polylang] get_author_posts_url is 404’ is closed to new replies.