• Resolved wp-anis

    (@anis1287)


    hi,

    thanks for your plugin.

    I am looking for a way to change the thumbnails size if possible. I need to keep the original images featured in the post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @anis1287,

    Thank you for reaching out.

    For the post thumbnail’s size, we have several options to choose from which your theme defines.
    If you need a custom size to choose from then just copy and paste the following code in your child theme’s functions.php
    It will add the option of the “related-post-thumbnails” option in the thumbnail size dropdown.

    add_image_size( ‘related-post-thumbnails’, 100, 100, true ); // thumbnail 100 pixels wide by 100 pixels height, hard crop

    Kindly, Review this documentation for more information.
    https://wpbrigade.com/docs-article/related-posts-documentation/

    Thank You. ??

    Thread Starter wp-anis

    (@anis1287)

    Thanks. Will check that.

    Thread Starter wp-anis

    (@anis1287)

    We should have option to change thumbnails size, you’ll need that for post in sidebar with smaller thumbnails, rather than adding that in the theme’s function.

    • This reply was modified 3 years, 6 months ago by wp-anis.
    • This reply was modified 3 years, 6 months ago by wp-anis.
    Thread Starter wp-anis

    (@anis1287)

    The code you gave me is not working.

    Anyway, thanks for your help.

    Hi @anis1287,

    We have tested the above-given code and it works just fine.

    Here is a video to see in which we tried to add the options to change the thumbnail sizes.
    [ Helping Video ].

    There are options that are generally used as thumbnails, however, we added this option if someone needed custom options to choose from.

    We also have a filter, use this code in your functions.php file of your child theme, it will not impact any functionality of the theme and add the additional option to choose as thumbnail sizes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘changing thumbnail size’ is closed to new replies.