Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Please be sure your post has a Featured Image (formerly known as Post Thumbnail) attached. If a Featured Image is attached to the post, it will be used in search in place results.

    Thread Starter alexislevrai

    (@alexislevrai)

    Hi,

    Yes my post have a Featured Image and Search in the Place display it that not the problem. But SIP display original size and not thumb size …

    So search results are very long to load.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    I’ve checked in different versions of WordPress and the search in place is loading the featured image, associated to the post in all cases. My recommendation is to use the icon version of image as the featured image. If the trouble persists, please contact me through the following link for checking your webpage in details.

    https://wordpress.dwbooster.com/support

    Thread Starter alexislevrai

    (@alexislevrai)

    That’s really strange, I’ve got the latest wordpress version. I’ve tried with twenty twelve, eleven, ten template, nothing. With all pluging unactive, same problem :/

    I will contact you via your form.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    I’ve corrected the issue with the thumbnail. Please, go to the line number 80 of file “/wp-content/plugins/search-in-place/searchinplace.clss.php”, and replace:

    $obj->thumbnail = wp_get_attachment_url(get_post_thumbnail_id($result->ID, ‘thumbnail’));

    by

    $obj->thumbnail = wp_get_attachment_thumb_url(get_post_thumbnail_id($result->ID, ‘thumbnail’));

    The issue was corrected in the online version of files.

    Thread Starter alexislevrai

    (@alexislevrai)

    Yes nice it work fine but it’s not in /wp-content/plugins/search-in-place/searchinplace.clss.php

    it in /wp-content/plugins/search-in-place/php/searchinplace.clss.php

    Thanks !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Get the thumbnail size when using post thumbnail’ is closed to new replies.