Is it possible to change the image dimensions for thumbnails?

How Can We Help?

< Back
You are here:
  • KB Home
  • Templates
  • Is it possible to change the image dimensions for thumbnails?
Print

 

The plugin currently uses 240×180:

add_image_size('drts_thumbnail', 240, 180, true);

This can be overridden by adding code to the functions.php file of your theme:

add_action('init', function() {
    add_image_size('drts_thumbnail', 240, 160);
});

 

Previous Is Directories Pro compatible with the Avada theme?
Next Is it possible to display a single listing by using a shortcode?
Table of Contents