Author name in recent post plugin

Hi, I would like to show the author name in Recent Post Multisite Plugin. How can I activate this feature?

  • Rupok
    • Support Ninja

    Hi Dimitri,

    Thanks for asking. I’m afraid, this is not possible out of the box but one of our users had shared a workaround for showing featured image for global posts. You can also query the author information in the same way I believe. You will get his workaround here:

    In his code, he used “get_the_post_thumbnail()” function. So you can use “get_the_author()” function instead/in addition to that function.

    So you should add your code in the following way:

    Add This Line:

    $author = get_the_author();

    After this line

    $thumbnail = get_the_post_thumbnail( $postID,array(200,200) );

    And again, add this line:

    echo ‘<div class=”post-author”>‘ . $author . ‘</div>’;

    After this line:

    echo ‘‘, $title, ‘‘;

    That should work.

    Please let us know how it goes. I’m looking forward to hearing from you and resolving this issue as soon as possible.

    Have a nice day. Cheers!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.