Hi there
I search a solution for display the featured image on Search page for WooCommerce Products. I found the solution for Post ID but i dont know wich i need to modify now, can you help me? Thanks a lot
I have already create a child theme and paste there the file loop-search.php and replace line 33 with this:
$searchthumb = get_the_post_thumbnail( $post_id, $size, $attr );
echo “<span class=’search-result-counter {$counterclass}’>{$searchthumb}</span>”;
and also paste CSS rule:
.search-result-counter {
padding: 0;
}
.search-result-counter img {
width: 100%;
height: 100%;
border-radius: 100px;
}
but no Shop image is displayed, because this is only for post rights?
Thanks
Regards
Nicole
Hi!
Do you want the featured image to be displayed here right?
Best regards,
Josue
Yes correct
I’m unable to connect with the provided FTP access, please re-check.
Best regards,
Josue
See infos below
The Website is now online and the new link is: http://raeucherwerk-basel.ch/
Please make any changes directly there, its a litle bit urgent because customer is waiting for this future
Hey!
I’m still getting
Server said: Login authentication failed
Best regards,
Josue
This is the correct FTP account i have checked it several times! How we can get it? From witch country you are try to login?
I had checked on my server and set the tick for international FTP login, please try again, i think now it should working with login credentials i send you yesterday. Please let me now if you need more details
Hey!
Ok, it should work now when you activate the Enfold Child Theme.
Regards,
Josue
Perfekt Thank you i have change now the image size now its very fine for me!
Thanks a lot for youre nice help
Regards
Nicole
You are welcome, glad to help :)
Regards,
Josue