Home › Forums › Themes Support › Claue › Image alt text and name
- This topic has 9 replies, 2 voices, and was last updated 5 years, 8 months ago by Harry.
-
AuthorPosts
-
-
May 9, 2019 at 8:10 pm #31078
Hi Harry,
I just made a post blog and added a photo inside the article.
Under the photo, I see the alt value of the image. https://look.ir/sL29n
Should it be alt text or the file name?
Because I installed a fancybox, because I don’t like the fancybox of the WPBakery page builder.
When I open the image via fancybox, I see the name of the image under the image, but in the article, I see the alt text?
Is it coming from your side?
Regards,
Rahim Vaziri
CEO & Founder at Look.ir -
May 9, 2019 at 8:15 pm #31079
-
May 9, 2019 at 10:15 pm #31084
Hi Rahim,
On my side it show alt text on popup when you add alt text for image. You can hide this by go to plugin setting and uncheck Show title. FancyBox will try to get a title from the link or thumbnail title attributes. http://prntscr.com/nmgkfh
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
May 9, 2019 at 10:22 pm #31087
Thank you Harry,
except fancybox and its settings, is it normal to see the alt text under the image in the article?
Should it be the title instead of the alt text?
I am talking about the wordpress and the theme!
Rahim Vaziri
CEO & Founder at Look.ir -
May 10, 2019 at 9:03 am #31097
Hi Rahim,
It only support show caption below image, and when you click on image it will show title of image. It can’t support show image title and alt text below image.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
May 10, 2019 at 6:02 pm #31099This reply has been marked as private.
Rahim Vaziri
CEO & Founder at Look.ir -
May 10, 2019 at 6:09 pm #31101
Harry, I forgot to tell you that after installing the fancybox plugin, when I disable the zoom function of the theme in the setting, the fancybox of the theme and this plugin, overlay each other, does it have any solution?
Check this product of me: https://look.ir/XtjDP
Regards
Rahim Vaziri
CEO & Founder at Look.ir -
May 11, 2019 at 12:00 am #31104
Hi Rahim,
1. Please use this plugin https://wordpress.org/plugins/auto-image-attributes-from-filename-with-bulk-updater/
2. I know the alt use for SEO, so you don’t need to change the alt text to title of image.
3. It use same function with WooCommerce lightbox, please contact to plugin author to exclude in product image.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
May 11, 2019 at 8:29 pm #31113
Hi Harry,
This is the answer of the plugin’s author. https://wordpress.org/support/topic/alt-text-of-the-image/#post-11520489
Any recommendation?
Rahim Vaziri
CEO & Founder at Look.ir -
May 11, 2019 at 9:45 pm #31119
Hi Rahim,
Please add below code to claue-child > functions.php to line 15
wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/custom.js', array( 'jquery' ) );
to
function jas_claue_enqueue_script() { wp_enqueue_style( 'jas-claue-parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/custom.js', array( 'jquery' ) ); } add_action( 'wp_enqueue_scripts', 'jas_claue_enqueue_script' );
and create file custom.js in claue-child and put your script code in this file.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.