Wordpress Font Resize plugin

Posted May 25th, 2008 by Rich

There are several of these about, and they all have similar functionality. But at present they all seem to rely on Javascript. Javascript should only be used to enhance, and shouldn’t be a requirement.

Hence I’m releasing eFont Size as a beta.

I’ve enabled this plugin on this site so that it can be tested, but ideally I would like some feedback before I release it via the Wordpress plugin repository.

As you should be able to see it add 3 links in a list: Bigger text, Smaller text, and Reset text.

Quick install instructions

Upload and activate plugin.
Add the following to your theme where you would like the links to be displayed:

<?php efontsize('85');?>>

the default body font size for your theme needs to be added as above, I used 85 as an example only.

Then visit your site once and refresh to fully activate this. A default of 100.1 is applied if this figure is not adjusted.

Eventually the style added to the header will only be body {font-size: xx%} the other bits are in there for development only.

Download

Download efontsize beta plugin from Quirm.net.


Be the first to comment on this post.


Post a Comment

Enter Your Details:


You may write the following basic XHTML Strict in your comments:
<a href="" title=""></a> · <acronym title=""></acronym> · <abbr title=""></abbr>
<blockquote cite=""></blockquote> · <code></code> · <strong></strong> · <em></em>

  • If you’re a first-time commenter, your response will be moderated.
  • If your response includes a link, it will require moderator approval.
Enter Your Comments:

Comments will be sent to the moderation queue.