This free gasoline cost calculator evaluates the fuel cost of a journey using several units of measurement depending on fuel efficiency, distance, and gas price.
- Download the ZIP file of this repository.
- Upload the /gas-cost-calculator-master/ folder to the /wp-content/plugins/ directory.
- Activate the Gas Cost Calculator plugin through the "Plugins" menu in WordPress.
- Add the shortcode
[ci_gas_cost_calculator]
to your page, post or sidebar. - Or add the following code:
<?php display_ci_gas_cost_calculator(); ?>
to your template where you would like the Gas Cost Calculator to appear.