![]() |
[WP] auto img tag & title by content title ?
hi guys,
iam searching for a SEO solution for my wordpress blog, i have a amateurs blog and i add images daily so i want to add a img tag and title in every image but this what i try doesnt work, have anyone a solution ? i tried this : <a href="http://www.imagevenue.jpg" target=_blank><img src="x.jpg" border="0" alt="<? php the_title(); ?>" title="<? php the_title(); ?>" /></a> i have tried regular expression but this doesnt work too :hmm: |
Re: [WP] auto img tag & title by content title ?
I am not sure off the top of my head how to do exactly what you want.
However, Wordpress automatically makes an alt tag based on the name of the image you upload. Make sure you name your images with the right keywords. In your example you are showing Image Venue, which implies that you are not uploading your images to Wordpress, but using the offsite image sharing, which negates this whole question. If you are using Image Venue, then you can just change their code that you paste into you blog post to use whatever alt and title tags you want. Alt tags and title tags can help SEO, but you probably know that there is more to it than that. You need good post titles and good text in each post as well. I think too many adult bloggers just post images without any text which does little for SEO. I am sorry my answer didn't provide the solution to the exact question, but imo, it's not something I would spend a lot of time on. |
| All times are GMT -4. The time now is 07:33 AM.. |
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright Evil Empire Inc. 2006-2022