/    Sign up×
Community /Pin to ProfileBookmark

Adding alt tags to my images in wordpress

Hi,

I have a wordpress site – sorry if this post is not in the right place? Please move if needed – thanks 😮

I would like to add alt text to my logo. I have this text in the header php file:

[code=php]<div id=”logo”>
<a href=”<?php echo home_url(‘/’); ?>”><img src=”<?php header_image(); ?>” width=”<?php if(function_exists(‘get_custom_header’)) { echo get_custom_header() -> width;} else { echo HEADER_IMAGE_WIDTH;} ?>” height=”<?php if(function_exists(‘get_custom_header’)) { echo get_custom_header() -> height;} else { echo HEADER_IMAGE_HEIGHT;} ?>” alt=”<?php bloginfo(‘name’); ?>” /></a>
</div><!– end of #logo –>[/code]

Second I would like to add alt text to my image sliders (Meteor slides). How do I do this?

My site is ampmgraphics.com

Many thanks for any help ?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@edwardstandleyNov 06.2013 — you can edit your alt tag of any image while inserting image in gallery you can able to see alt image option after uploading an image in gallery section, wordpress automatically assign alt tag into image after selecting the particular image to any place within your site.
Copy linkTweet thisAlerts:
@gd4authorNov 06.2013 — Thanks. The meta tags don't seem to show once an image has been published, so I'll just re add the images. Great thanks for the help :-)
Copy linkTweet thisAlerts:
@gd4authorNov 06.2013 — When I do an alt tag check on: http://www.feedthebot.com/tools/alt/

The slider images still show up as not having alt text even though they now do. Why is this? I would like Google to be able to pick up the alt tags.
×

Success!

Help @gd4 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...