The FC Loan Calculator WordPress Plugin is based on and uses the code from the very popular Loan Calculator. The plugin solves for any one of four unknowns: loan amount, payment, interest rate or term, and it creates printable amortization schedules and charts. Site visitors can select their own currency and date convention which is ideal if the host site attracts visitors from around the globe. The website or blog owner can select from four predefined sizes or modify a CSS file to customize both size and colors.
Rebranding with your site's brand name is supported and encouraged.
The plugin may be
- used in a post or page's content area via a shortcode; or
- used in a sidebar widget area; or
- called from any template file.
The "Plus" version offers some important enhancements over the free, non-plus version:
- Built in support for full printing of the amortization schedule.
- Nicer number entry - thousands separators inserted as user types. Just like an electronic calculator.
- Solves for anyone of 4 unknowns - not just payment amount
- upload the fc-loan-calculator folder with all its files to the /wp-content/plugins/ folder; or
- unzip the plugin's zip file in the /wp-content/plugins/ folder.
- Activate the plugin through the Plugins -> Installed Plugins menu in WordPress
There are 3 mutually exclusive ways you can deploy the calculator to an individual page (though you can use all three methods on different pages within a site):
- Add the shortcode [fcloanplugin] in the content area of your page or post and configure shortcode parameters.
- Add the following code to your template where you want the calculator to appear.
- If you are using widgets, just add the plugin to the sidebar through the Appearance -> Widgets menu in WordPress. Be sure to click Save.
- sc_size= "tiny" | "small" | "medium" | "large"
- sc_custom_style= "No" | "Yes"
- sc_add_link= "No" | "Yes"
- sc_hide_resize= "No" | "Yes"
Copy and paste to page's or post's content area.
First example includes all options.
Optional array parameter passed to
This can be copied and pasted to a template part.
Valid values for options are the same as the shortcode above.
- When setting default values for the calculator (loan amount, rate etc.), one should be set to "0" so when the user clicks on the "Calc" button, there will be an unknown value to calculate.
- If you want to add your brand to the calculator, the _add_link option must be set to "Yes".
- When branding, your brand name will be added before "Loan Calculator".
- If _custom_style is set to "Yes", the plugin will load fin-calc-widgets-custom.css located in the plugin's CSS folder. If you set the option to "Yes" without making any changes, the calculator will change to a horrendous red which indicates the custom css is being used.
- The plugin is built and tested on HTML5/CSS3 pages. (DOCTYPE XHTML 1.0 Transitional has been tested as well.)
- max-width: large: 440px, medium: 340px, small: 290px, tiny: 150px