No alt tag in image-header and footer
-
Some body could help please?
I have a hueman child theme and the code seames to be ok, the image alt atribute is in the code but don’t shows in post source code.
I use in the header the head-image (instead of logo and description)
This is the code in header<?php if ( ot_get_option('header-image') == '' ): ?> <div class="group pad"> <?php echo alx_site_title(); ?> <?php if ( ot_get_option('site-description') != 'off' ): ?><p class="site-description"><?php bloginfo( 'description' ); ?></p><?php endif; ?> </div> <?php endif; ?> <?php if ( ot_get_option('header-image') ): ?> <a href="<?php echo home_url('/'); ?>" rel="home"> <img class="site-image" src="<?php echo ot_get_option('header-image'); ?>" alt="<?php get_bloginfo('name'); ?>"> </a> <?php endif; ?>
Same problem in footer.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘No alt tag in image-header and footer’ is closed to new replies.