Skip to content

font-resizer allows the visitors of your wordpress site to change the content font size

Notifications You must be signed in to change notification settings

cubetech/wpplugin.font-resizer

Repository files navigation

font-resizer

WordPress tested Plugin downloads Plugin ratings

font-resizer allows the visitors of your website to change the content font size

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".

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.

Screenshots

  1. Adding the widget
  2. A productive example of the plugin
  3. Settings page

Frequently Asked Questions

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):

<?php if(function_exists('fontResizer_place')) { fontResizer_place(); } ?>

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

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

About us

cubetech – we create your DIGITAL EXPERIENCE with WordPress

Our contact address: info@cubetech.ch

About

font-resizer allows the visitors of your wordpress site to change the content font size

Resources

Stars

Watchers

Forks

Packages

No packages published