to repair alts in Header
first open file index.php from
/wp-content/plugins/nd-shortcodes/addons/customizer/shortcodes/top-header
ADD (18 LINE)
'alt' => '',
GO to (71 LINE) find
<a href="'.$nd_options_icon_text['link'].'"><img alt="" width="15" height="15" class="'.$nd_options_icon_margin.' nd_options_float_left" src="'.$nd_options_icon_text_image.'"></a>
replace with
<a href="'.$nd_options_icon_text['link'].'"><img alt="'.$nd_options_icon_text['alt'].'" width="15" height="15" class="'.$nd_options_icon_margin.' nd_options_float_left" src="'.$nd_options_icon_text_image.'"></a>
GO TO 87 line and find
<a href="'.$nd_options_icon_text['link'].'"><img alt="" width="'.$nd_options_image_width.'" class="'.$nd_options_icon_margin.' nd_options_float_left" src="'.$nd_options_icon_text_image.'"></a>
REPLACE WITH
<a href="'.$nd_options_icon_text['link'].'"><img alt="'.$nd_options_icon_text['alt'].'" width="'.$nd_options_image_width.'" class="'.$nd_options_icon_margin.' nd_options_float_left" src="'.$nd_options_icon_text_image.'"></a>
Save and upload file via FTP
Next go to theme options find your header layout and add the alts!
for example shortcode with alt looks now
[nd_social social='facebook' link='https://web.facebook.com/pyrastudio' alt='nasz fanpage na facebooku']
-
This reply was modified 5 years, 11 months ago by
infensus.