Support » Plugin: WordPress Popular Posts » Display multiple authors

  • Resolved bfhamilton

    (@bfhamilton)


    One of our most popular posts has five authors. At one point, all five names showed up in this widget, but now only the first name (alphabetically) does. Is there a way to make all five names visible or to at least specify which of the five shows up as the author?

    Thank you!

    • This topic was modified 4 months, 3 weeks ago by  bfhamilton.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    WordPress natively only allows one author per entry so I’m pretty sure you guys must be using a plugin to achieve this multi-author functionality.

    With that being said, WPP retrieves the author information using WordPress’ code functions get_the_author_meta() (to retrieve the name) and get_author_posts_url() (to obtain the URL of the author’s page). Because of that, I don’t think it was ever possible for WPP to display multiple authors on your listing, unless:

    • You guys were running a customized version of WPP, and lost all changes you made to the code after upgrading the plugin.
    • You’re confusing WPP with another plugin.
    • Gremlings.

    Is there a way to make all five names visible or to at least specify which of the five shows up as the author?

    As previously stated, WPP will just display one author as this is the stock behavior from WordPress. However, it is possible to modify WPP’s HTML output and add/change/remove pretty much anything you need/want (like your multi-author functionality) via WordPress filter hooks. See here for more details.

    If there’s anything else I can help you with feel free to ask.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.