-
AuthorPosts
-
July 18, 2015 at 6:53 pm #475290
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
NicoleJuly 20, 2015 at 7:20 pm #476044Hi!
Do you want the featured image to be displayed here right?
Best regards,
JosueJuly 20, 2015 at 7:24 pm #476046Yes correct
July 20, 2015 at 7:31 pm #476052I’m unable to connect with the provided FTP access, please re-check.
Best regards,
JosueJuly 20, 2015 at 7:36 pm #476057See infos below
-
This reply was modified 10 years, 3 months ago by
icodesign.
July 21, 2015 at 5:15 pm #476628The 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 futureJuly 22, 2015 at 11:49 am #476985Hey!
I’m still getting
Server said: Login authentication failed
Best regards,
JosueJuly 22, 2015 at 12:03 pm #476993This is the correct FTP account i have checked it several times! How we can get it? From witch country you are try to login?
July 22, 2015 at 12:05 pm #476994I 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
July 22, 2015 at 11:50 pm #477413Hey!
Ok, it should work now when you activate the Enfold Child Theme.
Regards,
JosueJuly 24, 2015 at 7:57 pm #478366Perfekt Thank you i have change now the image size now its very fine for me!
Thanks a lot for youre nice help
Regards
NicoleJuly 24, 2015 at 9:13 pm #478389You are welcome, glad to help :)
Regards,
Josue -
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
