Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @dauphil9,

    I see zero enqueued JavaScript files from 3rd party plugins, including Stock Ticker.
    Does your theme or some plugin mess with wp_register_script(), wp_localize_script() and/or wp_enqueue_script() calls in WordPress?

    First step: Try with default WordPress theme. If Stock Ticker working there, your theme break Stock Ticker (enqueueing scripts which load stock data for page by AJAX).

    Meanwhile, is there any error in error_log related to Stock Ticker?

    Regards,
    Aleksandar

    Thread Starter dauphil9

    (@dauphil9)

    No errors in error_log.

    Works fine in other themes, so it’s something in current theme causing issue.

    This is the only code I have in there that affects wp_enqueue_scripts. But even removing this doesn’t help.

    if (!function_exists(‘bootstrapBasicEnqueueScripts’)) {
    /**
    * Enqueue scripts & styles
    */
    function bootstrapBasicEnqueueScripts()
    {

    wp_enqueue_style(‘main-style’, get_template_directory_uri() . ‘/css/main.css’);

    wp_enqueue_script(‘main-script’, get_template_directory_uri() . ‘/js/main.js’);
    }// bootstrapBasicEnqueueScripts
    }
    add_action(‘wp_enqueue_scripts’, ‘bootstrapBasicEnqueueScripts’);

    I’ll keep looking. Thanks for the help!
    lee

    Thread Starter dauphil9

    (@dauphil9)

    <?php wp_footer(); ?>

    was missing from my theme. Added it and everything working now.

    Thanks for the help!

    Hey @dauphil9 I’m happy to see that you have resolved issue.
    If you are satisfied how Stock Ticker works, feel free to leave shirt review https://ww.wp.xz.cn/support/plugin/stock-ticker/reviews/

    Thanks,
    Aleksandar

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘“Loading stock data…”’ is closed to new replies.