The user has to write the roomsize in square meters, the number of doors and the number of windows and the widget calculates the needed paint in kilograms.
Shortcode
- You can add the Wall Paint Calculator via shortcode [wall_paint_calculator]
- If you want to show our backlink use the shortcode [wall_paint_calculator link=”true”]
- To change the title of the widget use the shortcode [wall_paint_calculator link=”true” title=”YOUR TITLE”]
Widget
- Just insert the widget in the chosen sidebar, type a title and activate the wanted options
Translate jQuery Messages
- Open the file wall-paint-calculator.php and search for wp_localize_script
- In this function you will find an array with 1 defined string
- Translate the strings after the => into your language and save the file
- To change the result string open the file wall-paint-calculator.js and change the strings on line 59
Try the demo
Screenshots
Categories