WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Recent Posts Widget
Minor Edit (4 posts)

  1. hovmand
    Member
    Posted 1 year ago #

    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/

  2. ikosweb
    Member
    Posted 1 year ago #

    whats the error that needs this fix?

  3. hovmand
    Member
    Posted 1 year ago #

    The variable $post is not defined.

    I got an error on my front-end when using thumbnails.

  4. Rizzo95
    Member
    Posted 1 year ago #

    What is the name of the PHP file where you make this edit?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic