-
AuthorPosts
-
May 3, 2016 at 11:16 am #626335
Hey, first of all, really nice theme!!!
I have a problem, I need the alt tag to be displayed in the source code (SEO) but it seems that there are none.
I found a similar problem and a solution here:But I don’t know how to make it work. I looked at the Shop Demo and in the link there are no alt tags included
<div class=”thumbnail_container”></div>
http://kriesi.at/themedemo/?theme=enfold-overviewIs it possible to display the image alt and title in the ???
greets marlene
May 4, 2016 at 6:15 am #626896Hey marlene,
I’m not sure if I understand what you mean by that, you are referring to images, correct? You can add the alt information to the image under Media in the WordPress menu.
Best regards,
RikardMay 9, 2016 at 9:20 am #629087Hey Rikard,
first of all thank you! I acutally meant, that I want the alt text to be displayed when I hover above an image. For example: I’m on the shop site and I want to see the alt text when I hover above a product. Is it possible to include the alt text from the image in the tag, so that the alt text is displayed when hoverd?best regards,
marleneMay 10, 2016 at 1:19 pm #629879Hi,
It does show up on my end – http://i.imgur.com/aOJUdyP.png
You should go to Media > Library and add alt tag to your images manually. If that does not work, please create a temporary admin login and post it here privately. Also, please point out the images that you are having problem with if they are certain ones :)Best regards,
YigitMay 10, 2016 at 2:07 pm #629913May 10, 2016 at 2:08 pm #629914i forgot the link :) here we go http://i.imgur.com/aRuKF2r.jpg
May 11, 2016 at 1:02 pm #630656Hi,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
AndyMay 12, 2016 at 10:31 am #631251Hi,
sure.best regards,
marleneMay 13, 2016 at 5:46 am #631796Hi Marlene,
The a tag has not alt attribute, the alt tag for images is used when the image can’t be loaded or when accessed by a browser for visually impaired people for example, so I don’t think there would be any point to adding an alt attribute to your links. http://www.w3schools.com/tags/tag_a.asp
Regards,
RikardMay 18, 2016 at 3:24 pm #634550Hi,
I actually meant title sorry.Greets,
MarleneMay 19, 2016 at 3:44 pm #635266Hi,
does your images have a title element when using a default WordPress theme? please let us know about your results
Best regards,
AndyMay 20, 2016 at 8:58 am #635777okay….my images have a title tag. but it’s not showing so I assume it should be in the And I just want to know where to insert which code that it displays the title when I hover. It’s neither working in the Demo: http://kriesi.at/themedemo/?theme=enfold
May 23, 2016 at 4:49 am #636521Hi,
Add this in the functions.php file to add the title in the link:
remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 ); add_action( 'woocommerce_before_shop_loop_item', 'avia_woocommerce_template_loop_product_link_open', 10 ); function avia_woocommerce_template_loop_product_link_open() { echo '<a href="' . get_the_permalink() . '" title="' . get_the_title() . '">'; }
Best regards,
IsmaelMay 23, 2016 at 8:09 am #636599thank you very very much!!! :)
have a nice day!May 23, 2016 at 2:48 pm #636805Hi,
glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Best regards,
Andy -
AuthorPosts
- The topic ‘Alt tag for related images links and images in Shop Theme.’ is closed to new replies.