font-resizer

Description

This plugin allows you to give the visitors of your site the option to change the font size.
The plugin acts over jQuery and saves the settings in a cookie. So the visitor see the same font size if they revisit your site.
Which content is going resized, the resize steps and other options you can set on the admin page called “font-resizer”.

About us

cubetech – we create your DIGITAL EXPERIENCE with WordPress
Our contact address: info@cubetech.ch

Screenshots

  • Adding the widget
  • A productive example of the plugin
  • Settings page
  • Settings page

Installation

  1. Upload the directory font-resizer to the /wp-content/plugins/ directory or install the plugin directly with the ‘Install’ function in the ‘Plugins’ menu in WordPress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the sidebar widget through the ‘Design’ menu in WordPress
  4. If you would not use the widget, you can use the tag <?php if(function_exists('fontResizer_place')) { fontResizer_place(); } ?> somewhere
  5. Define which content should be resized on the ‘font-resizer’ admin page (optional). If you are not familiar with html and css, select the body option (default). This would resize each content of your page.

FAQ

How can i activate the function of the plugin?

Go to the admin page of the plugin and select your option. If you are not familiar with html and css, select the body option (default). This would resize each content of your page.

My fonts doesn’t resize or only some lines are resizing. How can i fix?

The problem is that many themes use fixed font sizes (px) instead of relative sizes (em, rem, vm, vh, %, …). If you change this, it works.

How can i use the plugin without the widget?

Use this snippet of PHP code (in your theme or somewhere):

How can i change the color of the A’s?

With CSS in your theme.
Use something like:
ul.ct-font-resizer li > a { color: blue; }

Which styling (CSS) classes are available?

UL : ct-font-resizer
LI : ct-font-resizer-element
A : ct-font-resizer-plus, ct-font-resizer-reset, ct-font-resizer-minus

How to contribute?

If you have an idea or a pull request, contribute here:

https://github.com/cubetech/wpplugin.font-resizer

Are there more FAQ?

Not yet, no. But feel free to contact us if you have a question! info@cubetech.ch

Reviews

Works as advertised!

I used this plugin for the first time recently on a project, and it worked well. I left a message in the support forum recommending adding a class to the ul container (for styling), and this has been added in the most recent update.

Not bloated with functions I don’t want or need, and it’s flexible. Having a cookie set to save user preference is a nice feature, and the reset/default font size button is nice as well.

For a free (and well supported) plugin, I’m satisfied and will use it again!

PK

Does not work?

Plugin installs fine, Settings-page works fine and then… nothing happens.

I do see JS-files being added to the code, but I don’t see any switcher show up, not even if I implement my own CSS-element….

Read all 14 reviews

Contributors & Developers

“font-resizer” is open source software. The following people have contributed to this plugin.

Contributors

Translate “font-resizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.5

  • Bugfix for minimum font size
  • New screenshot of settings panel

1.3.4

  • Added new setting for minimum font size

1.3.3

  • Added new CSS classes to elements (all with ct-font-resizer prefix)
  • Version tested update

1.3.2

  • HTML Bugfix

1.3.1

  • Accessibility improvements (tab select and enter key press)

1.3.0

  • New function: limit font size, add to option page
  • Bug: replaced old path declaration
  • Testing: WP 4.4 and actual Bootstrap theme

1.2.3

  • Widget bug fix

1.2.2

  • Added banner img

1.2.1

  • Nothing relevant

1.2.0

  • Fixed some deprecated functions

1.1.9

  • Updated readme

1.1.7

  • Little jquery bugfix for function ownid

1.1.6

  • Fixed PHP problem

1.1.5

  • Fixed problem with Internet Explorer

1.1.4

  • Added option for cookie save time to admin pane
  • Edited install instructions

1.1.3.1

  • Added an answer to FAQ

1.1.3

  • Fixed JavaScript issue with qTranslate
  • Refactured jQuery scripts

1.1.2

  • Added an option for changing the font resize steps
  • Added comments to source code
  • Cleaned up source code
  • Changed css classes of the visible resizer element in the sidebar

1.1.1

  • Bugfix for different directory structure (like language structure, yourdomain.tld/en/ for english)

1.1.0

  • Added menu page
  • Changed default resizable element from a div with id innerbody to body element
  • Added uninstall hooks
  • Added some answer to FAQ

1.0.0

  • First stable version
  • Publish the plugin