Thumbnail size in categories | WordPress.org

[ad_1]

I promise that our next version would have the option to set the thumbnail size from our settings page.

Kindly follow the steps below as a quick solution for this issue.

For Categories:

1. Kindly open the following file,

/wp-content/plugins/all-in-on-video-gallery/public/templates/category-thumbnail.php

2. Search for the line below,

$image_data = aiovg_get_image( $term->term_id, 'large', 'term', true );

3. Replace it as,

$image_data = aiovg_get_image( $term->term_id, 'thumbnail', 'term', true );

4. Save the changes and check now.

For Videos:

1. Kindly open the following file,

/wp-content/plugins/all-in-on-video-gallery/public/templates/video-thumbnail.php

2. Search for the line below,

$image_data = aiovg_get_image( $post->ID, 'large', 'post', true );

3. Replace it as,

$image_data = aiovg_get_image( $post->ID, 'thumbnail', 'post', true );

4. Save the changes and check now.

Hope this solved your issue!

Great thank you

then i will wait for the next update 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer