so instead of more you have an image? Not sure myself, but I have seen it done. I guess you would set something in your css to call the function and then apply an image to it, something like:
more {
backround: url (‘images/myimage’);
}
Not certain perhaps someone else can be clear on this.
Change the_content()
tag in your template to this:
<?php the_content('<img src="/images/more.gif" alt="read more" />'); ?>
Thread Starter
Jabbok
(@jabbok)
This worked! I did add the other “Read More. . .” so it shows up on the page as well as the alt.
<?php the_content('<img src="/images/more.gif" alt="read more" />Read More . . .'); ?>
Thanks..
And you might consider adding a “title” to that image so that the “title” shows up in Firefox like this:
<?php the_content('<img src="/images/more.gif" alt="read more" title="Read More" />Read More . . .'); ?>
Just to cover all your accessible bases.
Thread Starter
Jabbok
(@jabbok)
Wow, you learn something new everyday. I’ve seen the use of “Title” before but I didn’t know it took that place of “Alt” in FF.
I added it!
Thanks
I just learned it a couple of weeks ago, and then had to confirm it. Caught me off-guard, too. The things you learn….
“Wow, you learn something new everyday. I’ve seen the use of “Title” before but I didn’t know it took that place of “Alt” in FF.”
It does that for all broswers. 😉
Alt just displays when the image can’t, for example in text only browsers, or if the image link is broken.