Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Image Alt Tags Not Displaying

accessibilitybug
    • 5 years, 2 months ago CGLLC
      Participant

      As a Specular Theme web developer, using the latest version of WPBakery Page Builder  (Visual Composer), I would like to know how to get the ALT tags to display appropriately on the frontend for Media elements so that my website can be more accessible.

      I have tried to reference the solution found here but it caused fatal error when I updated media.php https://support.codeless.co/?topic=image-alt-tags-missing-on-home-page

       

      • This topic was modified 5 years, 2 months ago by CGLLC.
    • 5 years, 2 months ago Ludjon
      Keymaster

      Hi,

      on media.php file

      replace alt=”whatever inside” with

      alt="'.get_post_meta( $image, '_wp_attachment_image_alt', true );.'"

      Thanks

Viewing 1 reply thread

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password