WordPress Font Resize plugin

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

Now available for download via WP plugin repositry

This entry was posted in Accessibility, News. Bookmark the permalink.

11 Responses to WordPress Font Resize plugin

  1. real estate says:

    Hey Rich, I tried it and it worked seamlessly. And for my 47 year old eyes it’s a godsend. Tell me something though, do you know of a plugin to permanetly upsize text in posts and pages on a wp blog so that I don’t have to change pixels in code then recheck my work everytime.

    When you install many templates, as I do, often the text size leaves a lot to be desired.

  2. Rich says:

    Which browser? couldn’t you just up the text size via that?

  3. Dalbir Thind says:

    Hi Richard,

    I like the way you placed the font resize links to the top of your website. The plugin works for me however where do I place the “” so I can have mine displayed like yours (top right hand side)???

  4. Dalbir Thind says:

    I like the way you placed the font resize links to the top of your website. The plugin works for me however where do I place the ?php efontsize(’85’);? so I can have mine displayed like yours (top right hand side)???

  5. Arjan van Kesteren says:

    File doesn’t seem to be available anymore. Any chanche of emailing me a opy? Will it work on 2.8.4?

  6. Rich says:

    I’ve updated the post with the new download location.

  7. Christoph says:

    Published a plugin for resizing font with WordPress 2.7 and higher:
    font-resizer

    Plugin works with jQuery and Cookies.
    Please feedback on info@cubetech.ch

  8. Some Guy says:

    Hey,

    Love the idea of this plugin.

    Can’t get it to work on the site that I help out on…

    As you can guess alot of our members are…….”older” and having this option

    would be great!

    Cheers

    • Rich says:

      I haven’t checked in a long time, in theory though it isn’t needed as most people up the size of their text in the browsers themselves.

  9. Alan says:

    This has been working perfectly for me for a while, but seems to have stopped working completely now – I’ve changed nothing but the links (AAA) are no longer clickable so they don’t do anything now.

    Any suggestions?

    Al.

Leave a Reply

Your email address will not be published.

Comments will be sent to the moderation queue.