Skip to content

🔠 wpTextResizeControls is an easy to use template tag to generate Increase, Decrease, reset font size controls for body text on a WordPress site.

License

Notifications You must be signed in to change notification settings

bradp/wpTextResize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wpTextResize is an easy to use way to have Increase, Decrease, reset font size controls for body text on a WordPress site.

Just use the [wpResize] shortcode wherever you want the controls to show up. Or use the widget to place it in a sidebar.

Theme creators: You can also add wpTextResizeControls(0) to your template for the controls to be automatically styled, or wpTextResizeControls(1) to manually style. When manually styling, wpTextResizeControls is the container, and increaseFont, resetFont, and decreaseFont are all anchors you can target.

About

🔠 wpTextResizeControls is an easy to use template tag to generate Increase, Decrease, reset font size controls for body text on a WordPress site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published