Title: [Plugin: Advanced Recent Posts Widget] Minor Edit
Last modified: August 20, 2016

---

# [Plugin: Advanced Recent Posts Widget] Minor Edit

 *  [hovmand](https://wordpress.org/support/users/hovmand/)
 * (@hovmand)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-small-corrections/)
 * Hey,
 * I’ve just corrected an error in advanced-recent-posts-widget.php
 * Line 173:
    `$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id($post-
   >ID),'full');` to `$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id(
   get_the_ID()),'full');`
 * I think it would be nice if it was only an option to use timthumb and made it
   possible to select one of the default thumb / image sizes.
 * [http://wordpress.org/extend/plugins/advanced-recent-posts-widget/](http://wordpress.org/extend/plugins/advanced-recent-posts-widget/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [ikosweb](https://wordpress.org/support/users/ikosweb/)
 * (@ikosweb)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-small-corrections/#post-2998658)
 * whats the error that needs this fix?
 *  Thread Starter [hovmand](https://wordpress.org/support/users/hovmand/)
 * (@hovmand)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-small-corrections/#post-2998662)
 * The variable `$post` is not defined.
 * I got an error on my front-end when using thumbnails.
 *  [Rizzo95](https://wordpress.org/support/users/rizzo95/)
 * (@rizzo95)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-small-corrections/#post-2998823)
 * What is the name of the PHP file where you make this edit?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Advanced Recent Posts Widget] Minor Edit’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-recent-posts-widget.svg)
 * [Advanced Recent Posts Widget](https://wordpress.org/plugins/advanced-recent-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-recent-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-recent-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-recent-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-recent-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-recent-posts-widget/reviews/)

## Tags

 * [$post->id](https://wordpress.org/support/topic-tag/post-id/)

 * 3 replies
 * 3 participants
 * Last reply from: [Rizzo95](https://wordpress.org/support/users/rizzo95/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-advanced-recent-posts-widget-small-corrections/#post-2998823)
 * Status: not resolved