{"id":49107,"date":"2016-06-18T07:55:30","date_gmt":"2016-06-18T07:55:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wpcalc\/"},"modified":"2021-03-04T12:41:16","modified_gmt":"2021-03-04T12:41:16","slug":"wpcalc","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wpcalc\/","author":14668513,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1","stable_tag":"trunk","tested":"5.7.15","requires":"3.8","requires_php":"5.3","requires_plugins":"","header_name":"WPcalc","header_author":"Wow-Company","header_description":"","assets_banners_color":"37c781","last_updated":"2021-03-04 12:41:16","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wpcalc.com\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wpcalc\/","header_author_uri":"http:\/\/wow-company.com","rating":2.9,"author_block_rating":0,"active_installs":400,"downloads":14988,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":4,"2":0,"3":0,"4":1,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1678279,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1678279,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1678279,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Customize fields","2":"Customize the style","3":"Ideal Weight Calculator","4":"Loan Calculator"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[716],"plugin_category":[59],"plugin_contributors":[85007],"plugin_business_model":[],"class_list":["post-49107","plugin","type-plugin","status-closed","hentry","plugin_tags-calculator","plugin_category-utilities-and-tools","plugin_contributors-wpcalc","plugin_committers-wpcalc"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wpcalc_37c781.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>You can easily create an online calculators for both yourself and your customers.\nEasily add basic form elements like checkboxes, dropdown menus, radio buttons etc. with only a few clicks<\/p>\n\n<h3>For Example<\/h3>\n\n<ul>\n<li><a href=\"http:\/\/areliability.com\/onlajn-kalkulyator-nadyozhnosti\/\">Online Reliability Calculator<\/a><\/li>\n<\/ul>\n\n<h4>Main features<\/h4>\n\n<ul>\n<li>Any number of calculated fields can be added<\/li>\n<li>Easy and visual calculator interface<\/li>\n<li>Use checkboxes, dropdown menus, radio buttons and input elements for calculator<\/li>\n<li>\u201cDublicate\u201d button to duplicate a form<\/li>\n<li>Create up to 3 calculators for your needs<\/li>\n<li>Copy and paste the shortcode of the window anywhere<\/li>\n<li>Grid style<\/li>\n<li>Configuring calculator styles<\/li>\n<li>Create custom formulas for calculating<\/li>\n<li>Stylize the result of the calculation<\/li>\n<li>Multiple calculation results for a calculator<\/li>\n<\/ul>\n\n<h4>Pro version<\/h4>\n\n<p>Discover even more features with the Pro version:<\/p>\n\n<ul>\n<li>Unlimited forms<\/li>\n<li>Integration with Mailchimp and Getresponse                                    <\/li>\n<li>Send the message to the admin and user<\/li>\n<li>Add email to database<\/li>\n<li>Add form after post content<\/li>\n<li>Widget with form          <\/li>\n<li>Copying and export of the contact list in .xls, .csv<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/wow-estore.com\/en\/wow-forms-pro\/\">Buy Pro version<\/a><\/p>\n\n<!--section=installation-->\n<ul>\n<li>Installation option 1: Find and install this plugin in the <code>Plugins<\/code> -&gt; <code>Add new<\/code> section of your <code>wp-admin<\/code><\/li>\n<li>Installation option 2: Download the zip file, then upload the plugin via the wp-admin in the <code>Plugins<\/code> -&gt; <code>Add new<\/code> section. Or unzip the archive and upload the folder to the plugins directory <code>\/wp-content\/plugins\/<\/code> via ftp<\/li>\n<li>Press <code>Activate<\/code> when you have installed the plugin via dashboard or press <code>Activate<\/code> in the in the <code>Plugins<\/code> list <\/li>\n<li>Go to <code>WPcalc<\/code> section that will appear in your main menu on the left<\/li>\n<li>Click <code>Add new<\/code> to create your first calculator<\/li>\n<li>Setup your calculator<\/li>\n<li>Click Save<\/li>\n<li>Copy and paste the shortcode, such as [WPcalc id=1] to where you want the calculator to appear.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20calculate%3F'><h3>How to calculate?<\/h3><\/dt>\n<dd><ul>\n<li>Calculation can be made only in item type \"Result\"<\/li>\n<li>Enter the calculation formula using fields values as field_1(Field 1 value), field_2(Field 2 value) ... field_n(Field n value)<\/li>\n<li>To print the calculation result, use {result} in the field \"Result\"\nSimple calculation: field_1 + field_2<\/li>\n<\/ul><\/dd>\n<dt id='which%20calculation%20operations%20are%20included%3F'><h3>Which calculation operations are included?<\/h3><\/dt>\n<dd><ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>\/  - Simple arithmetic operations<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li>Math.abs(x) - Returns the absolute value of x<\/li>\n<li>Math.ceil(x) - Returns x, rounded upwards to the nearest integer<\/li>\n<li>Math.exp(x) - Returns the value of Ex<\/li>\n<li>Math.floor(x) - Returns x, rounded downwards to the nearest integer<\/li>\n<li>Math.log(x) - Returns the natural logarithm (base E) of x<\/li>\n<li>Math.pow(x, y) - Returns the value of x to the power of y<\/li>\n<li>Math.round(x) - Rounds x to the nearest integer<\/li>\n<li>Math.sqrt(x) - Returns the square root of x<\/li>\n<li>Math.max(x, y, z, ..., n) - Returns the number with the highest value<\/li>\n<li>Math.min(x, y, z, ..., n) - Returns the number with the lowest value                  <\/li>\n<\/ul>\n\n<p>Example:\nMath.round((field_1 + field_2 - field_3)*100)\/100 - will return the calculation rounded to hundredths<\/p><\/dd>\n<dt id='how%20can%20i%20round%20the%20calculated%20result%20to%202%20decimal%20digits%3F'><h3>How can I round the calculated result to 2 decimal digits?<\/h3><\/dt>\n<dd><p>For examle, we need to round the result of formula = field_1 + field_2 - field_3<\/p>\n\n<ul>\n<li>1 way. Use only function Math.round:\nMath.round((field_1 + field_2 - field_3)*100)\/100<\/li>\n<li>2 way. Use function .toFixed(2):\n(field_1 + field_2 - field_3).toFixed(2)<\/li>\n<\/ul><\/dd>\n<dt id='where%20can%20i%20publish%20a%20form%3F'><h3>Where can I publish a form?<\/h3><\/dt>\n<dd><p>You can publish the forms into pages, posts and widget. The shortcode can be also placed into the template.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1<\/h4>\n\n<ul>\n<li>Fixed: admin script<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>NEW VERSION OF PLUGIN<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixed scripts<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Easily creation of online calculators on Wordpress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49107"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcalc"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49107"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49107"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49107"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49107"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49107"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}