Fontsize Selector Widget

Description

Creates a widget to add to your sidebar that gives users option to change the size of font. Has a Method for Cookies to control only individual site sont size or a Method for Admin only.
The admin of theme can activate or turn off the option by drag and dropping widget into a theme’s widget component. Once activated you can give the widget a name and it will appear on you sidebar area as a drop-down selector that your users can use to select the size of the blog’s fonts. This is ideal for sites with lots of print or that have certain pages with lots of text, such as a wiki or FAQ site.

Features

  • Font sizes of 9px to 22px to choose from
  • Uses Widget to insert a pull-down selector form to widgetized areas.
  • Can be disabled for only admin use or enabled for front end use
  • If front end user enabled then only local browser will change font sizes.
  • If admin only enabled then font size changes for every viewer.

Plugin License

This plugin compatible with the GNU General Public License v2, or any later version.

Other License

n/a

Screenshots

  • Admin screen - multiple choices for logged in or not logged in users.
  • Widgets page
  • Drop down

Installation

  1. Upload fontsize-selector.zip to the “/wp-content/plugins/” directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place widget in your desired widgetized part of theme to appear.

FAQ

Q.: Can I turn off the widget?
A.: Yes, Just remove the widget from the sidebar widgetized area.

Q.: Does the public side selector effect all users.
A.: When a user switches font sizes, only the browser that is open will change. The plugin uses cookies to store the page elements information.

Installation Instructions
  1. Upload fontsize-selector.zip to the “/wp-content/plugins/” directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place widget in your desired widgetized part of theme to appear.

Contributors & Developers

“Fontsize Selector Widget” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

  • 0.1 February 12th 2015 release – original version

0.2 – February 15th 2015

  • fixed validation for options values
  • changed text domain definition to core function
  • changed name of select form name to clear dev nonces
  • fixed some text domains

0.2

  • Feb. 16th 2015
  • created body_classes to call styles with to save users clashing on same IP
  • fixed some widget instance params
  • made inherit style on submit button to match user’s theme

0.3

  • complete rework – too much to add, please delete old version.