• Resolved D_Hahn

    (@d_hahn)


    My ticker items shows, but they don’t scroll and are just stacked on top of each other. Inspecting with Developer Tools show:

    Uncaught TypeError: $(…).ditty_news_ticker is not a function

    After some searching, I think the issue may be with the Javascript:

    $( ‘#mtphr-dnt-187’ ).ditty_news_ticker({

    I read somewhere, it should be

    jQuery( ‘#mtphr-dnt-187’ ).ditty_news_ticker({

    So, how can I edit this snippet of Javascript?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    An error like this usually happens when you have another javascript error on your site. If other errors are present then the ticker script may not get loaded. So, when my other code tries to run the scripts this error pops up because it can’t find the ticker scripts needed to run.

    Please run through this article https://metaphorcreations.ticksy.com/article/1483 to see if you can find where this issue is stemming from.

    Thread Starter D_Hahn

    (@d_hahn)

    Fixed.

    For some reason, my theme was missing the wp_head hook. Adding it made it work. Thanks for your response.

    <?php
    do_action(‘wp_head’);
    ?>

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Ok, glad you found the issue. Thanks for letting me know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: $(…).ditty_news_ticker is not a function’ is closed to new replies.