Viewing 15 replies - 16 through 30 (of 31 total)
  • It looks like the JavaScript file isn’t loading. If your site and this page are built using a visual editor, then you’ll need to force load the JavaScript file. See the FAQ.

    suraj

    (@musicblogtips)

    Can anyone suggest me responsive interest calculator for my banking website Bankindia.org ..I want to use this calculate interest on fixed deposits and loans.

    liddweaver

    (@liddweaver)

    I haven’t seen anything that fits what you are looking for. You can contact me through my blog and I may be able to whip something up for you: liddweaver.com

    Sherry22

    (@sherry22)

    I have added extra js to function.php as well as added script to footer and I still can’t get the calculator to output an amount…

    Sherry22

    (@sherry22)

    not extra js I meant extra function

    liddweaver

    (@liddweaver)

    Did you change the page slug in the “is_page()” function? Can you post a link if you haven’t already solved the problem?

    Adding a script tag to include the script in the footer won’t work. The script relies on wp_localize_script for settings and text, and that is only triggered if the script is enqueued using the WP API…

    Sherry22

    (@sherry22)

    yes I did here is the page it is not working on (code I added)to function.php
    function lidd_mc_manually_load_mortgage_calculator_scripts() {
    if ( is_page(‘https://jasonwood.ca/index.php/mortgage-calculator/’) ) {
    wp_enqueue_script( ‘lidd_mc’ );
    wp_enqueue_style( ‘lidd_mc’ );
    }
    }
    add_action( ‘wp_enqueue_scripts’, ‘lidd_mc_manually_load_mortgage_calculator_scripts’, 100 );

    liddweaver

    (@liddweaver)

    Try:

    … is_page(‘mortgage-calculator’) …

    Sherry22

    (@sherry22)

    I added this but no luck.

    liddweaver

    (@liddweaver)

    It looks like all the JavaScript and localization is loading normally. I’m looking for other reasons why it may be failing…

    liddweaver

    (@liddweaver)

    I see the problem…

    Everything is working normally. You probably don’t need to manually load the JavaScript. You DO need to visit the settings page and set a currency format. Go to “Settings” > “Resp Mortgage Calculator”. Look for “Currency Format” and enter something like {currency}{amount}. Save it and test it.

    Sherry22

    (@sherry22)

    thank you, I appreciate the support!

    Howie

    (@dotlicious)

    When I hit “Calculate”, it only refreshes the page and does not give me any results. Seems like a common problem huh? C’mon first shortcode in 100’s that fails a basic install.

    liddweaver

    (@liddweaver)

    The mostly likely cause for the failure is nested shortcodes. Please see the FAQ or the README. If you don’t find the solution there, please post back and I will look at your problem in detail.

    Sherry22

    (@sherry22)

    When I added {currency}{amount} to plugins settings it resolved my issue. I will mark as solved ??

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Not getting any results from the calculator’ is closed to new replies.