Conversation
supportHi Support Team, Could you please update the plugin to ensure that in the list view, product images include an ALT tag based on the product title? It’s quite difficult for us to implement this from our end without modifying the core plugin files. We’d really appreciate it if this could be handled in an upcoming update. Please prioritize this if possible. Thanks
<?php if ( has_post_thumbnail() ) { ?> <div class="qodef-e-media-image"> <a itemprop="url" href="<?php the_permalink(); ?>"> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo qi_addons_for_elementor_get_post_image( get_the_ID(), $images_proportion, intval( $custom_image_width ), intval( $custom_image_height ) ); ?> </a> <?php // Hook to include additional content after blog post featured image. do_action( 'qi_addons_for_elementor_action_after_post_thumbnail_image' ); ?> </div> <?php } ?> I have just copied your image.php code for better idea so you can manage this stuff in your upcoming updates.
Hello, The product images will use ALT tag entered for them in the Media Library (please see screenshot ), so please make sure to enter the ALT text you need there. Best regards, Jovana
<?php if ( has_post_thumbnail() ) { ?> <div class="qodef-e-media-image"> <a itemprop="url" href="<?php the_permalink(); ?>"> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo qi_addons_for_elementor_get_post_image( get_the_ID(), $images_proportion, intval( $custom_image_width ), intval( $custom_image_height ) ); ?> </a> <?php // Hook to include additional content after blog post featured image. do_action( 'qi_addons_for_elementor_action_after_post_thumbnail_image' ); ?> </div> <?php } ?> I have just copied your image.php code for better idea so you can manage this stuff in your upcoming updates.
Hello, The product images will use ALT tag entered for them in the Media Library (please see screenshot ), so please make sure to enter the ALT text you need there. Best regards, Jovana