Home Forums Themes Support Claue Image alt text and name

This topic contains 9 replies, has 2 voices, and was last updated by  Harry 2 weeks ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    #31079

    http://prntscr.com/nmf4gx

    http://prntscr.com/nmf4vs

    Rahim Vaziri
    CEO & Founder at Look.ir

    #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

    #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

    #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

    #31099
    This reply has been marked as private.

    Rahim Vaziri
    CEO & Founder at Look.ir

    #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

    #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

    #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

    #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

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.