All-In-One Cufon
All-In-One Cufon plugin allows you an easy replacement of standard fonts with beautiful catchy fonts.
This plugin implements Simo Kinnunen’s Cufón script, which aspires to become a worthy alternative to sIFR.
Latest version 1.0.3
Features
- Easy to use
- Automatic detection of the uploaded fonts
- Preview of the uploaded fonts
- Automatic detection of the fontFamily parameter
- Option to enable only font you really want to use
- Code tips
How-to
- Download plugin from Wordpress repository.
- Unzip and upload it to \wp-content\plugins\. Or you can go to the admin panel:
- Plugins –> Add New
- Type “all-in-one cufon” into the search field.
- Install.
- First you have to generate JavaScript file of your .otf, .ttf etc. font file. To generate this you have to go the Cufon generator.
Make sure the EULA of the font permits web embedding.
- Create a folder called /cufon-fonts/ in the wp-content/plugins/ directory, where you need to upload your generated font .js files.
- When you’re done, just go the admin panel: Settings–>All-In-One Cufon
- There you will instantly see fonts that were detected in your \wp-content\plugins\cufon-fonts\ folder.
- Enable fonts you wish to use.
- The last step is adding the Cufón code.
Adding Cufon code
Add Cufon code to the Cufon’s code field. Basic code for replacing h2 element looks like this:
Cufon.replace('h2');
For more complex element you can use code like this:
Cufon.replace('#top-menu.menu');
1. Add gradient to the font:
Cufon.replace('.cufon-gradient', {
color: '-linear-gradient(red, blue)'
});
2. Add shadow to the font:
Cufon.replace('.cufon-shadow', {
textShadow: '2px 2px red'
});
3. Add gradient and shadow to the font:
Cufon.replace('.cufon-gradient-shadow', {
color: '-linear-gradient(blue, yellow)',
textShadow: '2px 2px #C0C0C0'
});
4. Add gradient and shadow to a link:
Cufon.replace('a.cufon-gradient-shadow-link', {
color: '-linear-gradient(#FF9900, #000000)',
textShadow: '2px 2px #C0C0C0',
hover: {
textShadow: '2px 2px #C0C0C0',
color: '-linear-gradient(#99CC00, #000000)'
}
});
Cufon can apply gradient and shadow to links.
5. Set font, gradient and hover.
Cufon.replace('a.cufon-easy', {
fontFamily: 'Sketch Rockwell',
color: '-linear-gradient(#FF6600, #33CCCC)',
hover: {
textShadow: '2px 2px red',
color: '-linear-gradient(black, white)'
}
6. Add gradient, shadow and transparency to a shadow:
Cufon.replace('a.cufon-transparent', {
color: '-linear-gradient(#FFFFFF, #99CCFF)',
textShadow: '10px 10px rgba(0, 0, 0, 0.3)',
hover: {
textShadow: '10px 10px rgba(0, 0, 0, 0.3)',
color: '-linear-gradient(#FFFFFF, #969696)'
}
});
CSS code
.cufon-transparent { display: block; font-size: 40px; background: url(images/cufon-bg.jpg) repeat; }
Cufon can work with transparency in links.
You can find much more info on this amazing script on the official Cufón’s pages.
They also have active forum, where you can ask all your questions regarding Cufón.


















Beautiful plugin from the looks of it. My question is this: are the soft shadows under your <> links (at the bottom of the page in blue text) created by Cufon, or are you using something else?
Hi Matt,
no it’s not Cufon. It is CSS3:
a { text-shadow: 1px 1px 1px #fff; }How does this compare to Flir? It sounds easier to implement.
It is not only easier to implement, Cufon can do more things than FLIR. More info on how it actually works you can find here.
Hi –
Could you please explain *how* to create the cufon-fonts directory? I’m completely new at this so I don’t know what I’m doing.
In wordpress i’ve gone to the plugins section on the dashboard – but then what? If I go to edit, and select the cufon plug-in, there’s nowhere to create a new directory.
Can you help? Thanks!
You can create folder on your FTP server with FTP client (Total Commander, FileZilla) or directly in your server’s cPanel.
Hi Tom.
I have a problem with this plugin.
I installed the plugin and I follow all the instructions.
But when I click on the plugin setting, I cannot see the font preview.
Here is the screenshot of my setting page:
http://sugarushfx.com/cufon-setting.jpg
For your info, I’m using WP 2.9
I really really need your help. Hope you can reply ASAP. By the way, thanks for creating such a great plugin!
Regards,
Aini
Hi Aini,
The plugin has just been updated.
I was just about to comment with the same problem, but I tried updating first, as per your comment, and that worked. I’ve tried implementing Cufon on my own in the past, with limited success, but your plugin makes it so quick & easy. Thanks for your great work! This is the second time I use the plugin, and I’m sure I’ll be using it again. My designer sure does love it!
Thank you Amanda!
I’ve successfully installed & used the plugin. It worked!
Thanks Tom! I really appreciate it!
Thank you Tom for the plugin. I installed it and uploaded the jsp font to the specified folder.
I tried to use the example code for h2, but nothing changes on the site.
Here’s a screenshot of the plugin settings http://www.sattvedic.com/wp-content/uploads/2010/03/cufon-screnshot.png
Hi Serge,
The .codeTips class is used only for example purposes. If you want to use cufon for all h2 elements do it like this:
Cufon.replace('h2', { fontFamily: 'Bauhaus Std Light' }Hi Tom
Thanks for the plugin, I’d really like to use it but, obviously, I’m doing something wrong. On my blog I have a h2 header in arial where I want to add drop shadow (actually, I’d like to be able to do it on all my h2 headers but they are also links as well). Here’s my code:
Cufon.replace('h2 a', .cufon-shadow-link', { font.Family: 'Arial', textShadow: '2px 2px black' });Btw, the plugin is installed correctly, I’ve activated the ‘Arial’ font. Could you, please, tell me what I’m doing wrong?
Blog is in Croatian but that shouldn’t be a problem, I hope.
Thank you very much and best wishes.
Zoran
Hi Zoran,
Please check example #5 on this page. It should help.