WordPress.org

Ready to get started?Download WordPress

Forums

the_author_posts_link returns one URI for 2 authors with same first name (3 posts)

  1. cinemaminima
    Member
    Posted 8 years ago #

    What can be done to cause the tag the_author_posts_link('idmode') to return a unique URI for each author? Please.

    the_author_posts_link returns this URI for an author #6, named "Jordan Todorov" : http://www.cinemaminima.com/author/jordan/

    BUT

    the_author_posts_link returns this URI for author #13, named "Jordan Hatcher" : http://www.cinemaminima.com/author/jordan/

    Only the posts of the first author, "Jordan Todorov," are returned at the URI http://www.cinemaminima.com/author/jordan/.

    Author "Jordan Todorov" joined prior to "Jordan Hatcher". Each author's login is unique, and is not his first name.

    Changing the idmode parameter has no effect on the result.

    What can be done to cause the tag the_author_posts_link('idmode') to return a unique URI for each author? Please.

  2. moshu
    Member
    Posted 8 years ago #

    I don't think you should have 'idmode' there... that's a generic thing for all the possible choices you can see here:
    http://codex.wordpress.org/Template_Tags/the_author_posts_link#Parameters
    Replace it with one of your choice.

  3. cinemaminima
    Member
    Posted 8 years ago #

    Thanks for answering BUT your response does not supply a satisfactory solution --

    -- The problem cannot be solved by changing the parameter. The parameter has nothing to do with the URI which is returned.

    -- The tag -- as actually used -- DOES NOT INCLUDE the string 'idmode' as its parameter -- it was included in this posting simply for the sake of clarity, so that someone who reads it wouldn't have to go to the docs to see the tag's syntax.

    -- Use of any of the allowed parameters makes no difference to the result! I have tried each; the URI which is returned does not vary.

    Please can someone offer a substantial fix, or workaround to this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags