• Resolved Daniella

    (@ellaj)


    Hi, I noticed the featured image picks up the Title of the page as the alt text, is there a way for the featured image to display the actual alt text? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    Yes, the default behavior can be overridden with a filter. You can add this to your functions.php file or wherever you keep similar code (please practice safe coding, make sure you have backups, etc.):

    
    add_filter( 'displayfeaturedimagegenesis_prefer_image_alt', '__return_true' );
    

    The plugin will use the image alt text if it’s available; if not, it will use the post/page title as the alt text. HTH

    Thread Starter Daniella

    (@ellaj)

    Thank you!

    Thread Starter Daniella

    (@ellaj)

    Just what I needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Alt Text’ is closed to new replies.