Ready to get started?Download WordPress


[resolved] [Plugin: Latest Posts by Author] "Just a starting point" plugin (8 posts)

  1. the_loop
    Posted 4 years ago #

    Must say this plugin is really simple... and quite unuseful as it's made.

    What this plugin does is usually meant to be a repetitive and fixed task, and it's quite boring placing the schortcode at the bottom of EVERY post.
    And, called in a theme it just outputs the "admin"'s last posts; who runs or writes with a such name user (security issues, ugly name...)?

    In addiction, i run a multiuser blog, so it was realy uneuseful.

    BUT, with just one basic edit it becomes useful:

    Just changing author' => admin to author' => get_the_author() it works as it's meant to do! ;)



  2. the_loop
    Posted 4 years ago #

    Well, definitely I'll use recent posts plugin

  3. Alex Mansfield
    Posted 4 years ago #

    You are correct that "admin" is the default author. However, you can easily change that by adding author="username" to the shortcode. I should make that more clear in the documentation. I appreciate that suggestion code suggestion you made though. I'll try to include it in my next update.

  4. the_loop
    Posted 4 years ago #

    Ok, glad to be useful.
    Perhaps It was not clear, I didn't use shortcode 'cause i wanted to encode the function in theme's files, so I could not pass the usename ;)

  5. Alex Mansfield
    Posted 3 years ago #

    You should still be able to use the shortcode from the theme's files by using the do_shortcode() function:


  6. daigreen
    Posted 3 years ago #

    Hey any chance of a little update, this plugin is awesome for my needs but i do need to be able to cut down the length of the titles, any chance of a quick fix???


    <?php echo do_shortcode('[latestbyauthor author="username" show="10" chars="39" excerpt="false"]'); ?>

    Max length of the title links, 0 could means unlimited characters - 39 could means 39 characters etc???????????


  7. dzulfriday
    Posted 3 years ago #

    how can i show latest show by author with post thumbnail?

  8. Alex Mansfield
    Posted 3 years ago #

    @dzulfriday You can find the answer here: http://wordpress.org/support/topic/plugin-latest-posts-by-author-show-post-thumbnail?replies=2

    @daigreen If you want to limit all instances of the plugin by the same amount, you edit the plugin file as described here: http://wordpress.org/support/topic/plugin-latest-posts-by-author-limit-numbers-of-characters

Topic Closed

This topic has been closed to new replies.

About this Topic