WordPress.org

Ready to get started?Download WordPress

Forums

Latest Posts by Author
show post thumbnail (2 posts)

  1. dzulfriday
    Member
    Posted 3 years ago #

  2. Alex Mansfield
    Member
    Plugin Author

    Posted 3 years ago #

    Create a new line just after this line in the plugin (I think it should be line 24):

    $html .= '<li><a href="'.$numpost->guid.'">'.substr($numpost->post_title, 0, 10).'</a>';

    In the blank line you just created, place the following code to display the thumbnail:

    $html .= get_the_post_thumbnail($numpost->ID);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic