• Resolved DanielCPalmer

    (@danielcpalmer)


    Hi, on the employee archive page the thumbnails being generated is 150×200. I’d like it to be the thumbnail size of my WP settings (150×150); I used a regenerate plugin, but it didn’t change it. I tried to find it in the plugin folder, but nothing. Help? Where can I change it. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author agentevolution

    (@agentevolution)

    The plugin generates a more rectangular featured image size, since most headshots are not square.

    To change that, you’ll need to edit the plugin file /includes/views/single-employee.php

    Change line 23 from this:
    $thumb_url = wp_get_attachment_image_src($thumb_id, 'employee-full', true);

    To this:
    $thumb_url = wp_get_attachment_image_src($thumb_id, 'thumbnail', true);

    To make sure your edits do not get overridden in a plugin update copy the single-employee.php file to your theme folder.

    Thread Starter DanielCPalmer

    (@danielcpalmer)

    Beautiful. Now we’re talking great support. Thank you very much!

    Plugin Author agentevolution

    (@agentevolution)

    Apologies, if we’re talking about the archive page, the file to edit is /includes/views/archive-employee.php and the line is 44. ??

    Thread Starter DanielCPalmer

    (@danielcpalmer)

    Yes! Even better. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Agents Icon Size’ is closed to new replies.