the_author_posts_link() problems
-
Hi All,
I have a strange problem in my site. The author link returned by wordpress in the wordpress theme using the_author_posts_link is something like ‘mydomain.com/author/’. Its not concatenating the author name to the URL. What could be the problem?
The function is returning correct URL if the default permanent link structure is used. i.e, ‘mydomain.com/?author=1708’.
Just for your information, as the wordpress won’t allow unicode usernames all my usernames are empty and the name i s available in display_name field of the user info. This could be the problem also.
Is there anyway to get the author link with ID instead of the name?
i.e, ‘mydomain.com/author/1708/’ instead of ‘mydomain.com/author/myname/’?This might also solve my problem.
- The topic ‘the_author_posts_link() problems’ is closed to new replies.