• Hallo there, i am using the onetone pro theme and in some reason the alt tag is not working for the blog post at the front page.
    WHat do ui have to write in the ( alt=”” )
    My code look like this

    	if( has_post_thumbnail() ){
    	    
    	   
    		$image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), "related-post" );
    		if( $display_image == 'yes'):
    		$featured_image = '<div class="feature-img-box"><div class="img-box figcaption-middle text-center from-top fade-in">
                                                                    <a href="'.get_permalink().'" >
                                                                        <img src="'.$image_attributes[0].'" alt="" class="feature-img">
    • This topic was modified 9 years, 7 months ago by weberens. Reason: code problems
    • This topic was modified 9 years, 7 months ago by weberens.
Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Since that is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best.
    https://www.mageewp.com/documents/

    Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

Viewing 1 replies (of 1 total)

The topic ‘Alt tag in this’ is closed to new replies.