• Resolved sammysamp

    (@sammysamp)


    Hi, I set up a Post on Instagram with a custom Alt text in the Accessibility option of the post, but when it is imported to my site, the alt text for that image is still the Post description. Is there a way to use the Alt text in the post for the image imported? TIA!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Smash Balloon Nigel

    (@nigelrsb)

    Hi @sammysamp,

    Currently, our plugin only gets the main post caption and not the alt text. This was an API limitation in the past but there may now be an opportunity to improve this.

    Thank you for bringing this to our attention. I am checking with my colleagues to get more details on this.?I’ll get back to you as soon as I have an update; thank you in advance for your patience.?If you have any additional thoughts or questions in the meantime, please let me know.?

    Best regards,

    Thread Starter sammysamp

    (@sammysamp)

    Thanks Nigel! So, there is no way in the settings to avoid importing the description as the Image alt Text and leave the image alt text blank now, right?
    Thanks again.

    Plugin Support Smash Balloon Nigel

    (@nigelrsb)

    Hey @sammysamp,

    We have a PHP filter code snippet to set the alt text to blank. However, please note that this is not good for your SEO and reduces the accessibility of your website. If you would still like to set the alt text to blank, you can use the filter below:

    function sbi_img_alt( $img_alt, $post ) {
    $alt_text = ''; return $alt_text;
    }
    add_filter( 'sbi_img_alt', 'sbi_img_alt', 10, 2 );

    You can add the filter code snippet using the WP Code plugin. You can check the pugin’s documentation for instructions on how to do it.

    I hope this helps! Please let me know if you have any questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.