[wp-hackers] the_alt_title recomendation
Chris Coggburn
Chris at Coggburn.us
Thu Aug 5 23:28:48 UTC 2004
I believe that the Wordpress developers need to add a function and
filter similar to the_title but for use only in the alt tags.
For example:
<a href="http://chris.coggburn.us/archives/2004/08/04/title-images2-plugin/" rel="bookmark" title="permanent link: <img src='titleimages2.php?func=generate&title=stuff' alt='Wordpress Plugin: Title Images2' />">
<img src='titleimages2.php?func=generate&title=Stuff' alt='Stuff' />
</a>
That happens when the the_title filter applies html tag to format a title(For example, my Title Images2 plugin).
It would be much better to have a seperate tag called the_alt_title() which can have its own filter to format the
title in the alt tags. Now, I was talking to masquerade from #wordpress and he mentioned that for PatchDay he made a patch
that would add this support Wordpress and he was told it was commited. Where is it? The bug is located at:
http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000107
Without support for this feature my plugin will require users to modify their template, which I really wish I did not have to do.
Thanks.
--
Chris Coggburn
http://noderat.com
http://chris.coggburn.us
http://beyonddigital.net
More information about the hackers
mailing list