Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alex Mansfield

    (@alexmansfield)

    Are you referring to using the author’s display name in the shortcode? So instead of using [latestbyauthor author="username"] for the shortcode, you would use [latestbyauthor author="Display Name" show="3"] instead? I’m just trying to make sure I understand what you’re asking.

    Thread Starter steeleweed

    (@steeleweed)

    That is exactly what I want.
    Many of my bloggers have “Display Name” = “Username” but some have different Display Names, since Username exposes Login name to hackers. If visitors can’t see the Username, they can’t search for their favorite authors.

    You might have an option on the code to chose which DB field is to be used, but I’m willing to tweak your code on my site as needed if you can tell me what to look for.

    Thanks,
    RayS

    Thread Starter steeleweed

    (@steeleweed)

    Looking at the code, you invoke the ‘get_user_by’ function of WP.
    From what I read elsewhere, that function does not allow ‘display_name’ as an argument – just ‘login,, email, ID, etc.

    Will meditate on the matter and may code my own plugin.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Authors by Display Name’ is closed to new replies.