Support » Plugin: Relevant - Related, Featured, Latest, and Popular Posts by BestWebSoft » Control the thumbnail image size generated for ‘Related Posts’

  • Resolved markkelly1982



    Is there any hooks for changing the generated thumbnail size that is output for ‘related posts’.

    The default from the plugin is 80×80 but I would like to change it to something else.

    I believe this is the line in the plugin code

    #Line 607
    $thumbnail = get_the_post_thumbnail( $post->ID, array( 80, 80 ) );



    • This topic was modified 4 years, 6 months ago by markkelly1982.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft



    Thank you for contacting us!

    Thank you for the suggested solution. We will consider it, and if we deem it necessary, we will make the necessary changes to the plugin.

    And now you can find this line:

    $thumbnail = get_the_post_thumbnail( $post->ID, array( 80, 80 ) );

    and resize the thumbnail image to the necessary one.

    Please note, that the next plugin update may rewrite the changes.

    Is there a way to change the thumbnail size without fearing an update?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Control the thumbnail image size generated for ‘Related Posts’’ is closed to new replies.