• I am using your plugin and it is as per my need. But the only problem is that you don’t support desired image size in listing of related post.

    In your flat theme (index.php [line number: 55])
    $thumb_url = wp_get_attachment_url( get_post_thumbnail_id(get_the_ID()) );

    You can change it to:

    $thumb_url = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'medium' );
    $thumb_url = $thumb_url[0];

    For size you can give a list to select from theme supported sizes (eg. large, medium, thumbnail), in your plugin setting page: “Related Post Settings”.

    Hope you will give an update very soon.

    Thanks.

    https://www.ads-software.com/plugins/related-post/

  • The topic ‘Option to select desired image size.’ is closed to new replies.