1. Docs
  2. Developer Guide
  3. Miscellaneous and Snippets
  4. Using a Different Size Image As Property Thumbnail

Using a Different Size Image As Property Thumbnail

By default we’ll show the medium image as the main property thumbnail in results, featured properties etc. If using the default WordPress sizes then this is likely 300px wide.

If you want to change this to use a smaller or larger version you can do so by adding something like so to your theme’s functions.php file:

function propertyhive_template_loop_property_thumbnail() {
    echo propertyhive_get_property_thumbnail( 'large' ); // could also use 'medium', 'thumbnail' or 'full'
}
Was this article helpful to you? Yes No