Alt tag on images in team member

Home Forums Jevelin Theme Alt tag on images in team member

Home Forums Jevelin Theme Alt tag on images in team member

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • ChristineMartin
    Participant

    Hi,

    For SEO purposes I need to have alt tags on my images. I’ve used the team member style, but it doesn’t include the alt tag set in the media gallery. What is the code I can enter into the file, so that the alt tag will show?

    Found the file

    Jevelin: view.php (framework-customizations/extensions/shortcodes/shortcodes/team-member/views/view.php)
    <div class=”sh-team-image”>

    This section here:

    <div class=”sh-team-image”>

    <?php if( $lazy && $image_width > 0 && $ratio ) :?>
    <div class=”ratio-container” style=”padding-top: <?php echo esc_attr( $ratio ); ?>%;”>
    <div class=”ratio-content”>
    ” alt=”” />
    </div>
    </div>
    <?php else : ?>
    ” alt=”” />
    <?php endif; ?>

    </div>

    Hi @ChristineMartin,

     

    I hope you are well today and thank you for your question.

     

    Could you please share the page URL from your site where it is displaying so that I can help you?

     

    Best regards,
    Shufflehound team

    ChristineMartin
    Participant

    If you run the Google Chrome inbuilt lighthouse audit on accessibility, you will see it fails on the image alt tags.

    Solution for this topic

    In the theme file framework-customizations/extensions/shortcodes/shortcodes/team-member/views/view.php you will find the below code online numbers 129, 178, 211

     

    " alt="" />

    Please change it as below.

    " alt="<?php echo esc_attr( $name ); ?>" />

    ChristineMartin
    Participant

    Thank you

    You are most welcome here 🙂

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

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form