Ah, yah beat me – I was going to give the link to Matt’s post since she mentioned it:
http://ww.wp.xz.cn/support/index.php?action=vthread&forum=5&topic=4549&page=0#post-5
Goodsnake, from the great state of Alabama.
Ok, I have got the script up and working except it is not showing the titles because it is not seeing the font… help?
You will have to upload the font you want to use and set it in the code. I use *gasp* georgia.ttf for $font.
I have changed the font to something in the root directory then I have uploaded a TTF font, still nothing
Can’t help but point out the irony found in today’s ALA… Creepy
I just tested the ALA method and it works just use the “edit” code I posted above and change the name of the file called and “letters” to “text”. I just used the “available here” script and didn’t mess with the rest of the js stuff. Maybe it would help if you posted the line you are using for the font and its location.
Matt’s version:
http://www.billhayes.us/wordpress/titles.php?letters=Post%20Title
ALA method:
http://www.billhayes.us/wordpress/titles2.php?text=Post%20Title
The Georgia font is in my main folder and you see it when you type in http://somegreatreward.com/georgia.ttf
$font_file = ‘georgia.ttf’ ;
$font_size = 24 ;
$font_color = ‘#000000’ ;
$background_color = ‘#ffffff’ ;
$transparent_background = true ;
$cache_images = true ;
$cache_folder = ‘cache’ ;
<img src=”<?php echo get_settings(‘http://somegreatreward.com’) ?>/titles.php?text=<?php
the_title(); ?>” alt=”<?php the_title(); ?>” />
the php file is called titles.php
Call me Mr. Tangent, but another slightly related inquiry…
Have you guys checked out Inman Flash Replacement (updated here). The idea is to use absolutely no server-side processing, instead relying on some highly-developed javascript methods as well as a clever flash file.
The result is selectable text in any font/style you want… Definately an interesting alternative.
Thank you so much Beel!!! I finally put the absolute path in and it worked. I really appreciate all your help working with me on this!!!