• All functions i think that use javascript aren’t working:
    – Not collapsing
    – No smooth scroll

    Rest is working.
    Rechecked wp_footer() and wp_header(); is in the footer. Not one script is loaded. What’s missing?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Steven

    (@shazahm1hotmailcom)

    Can you please share a link so I can take a look?

    Thread Starter Silvan

    (@silvan)

    Sorry can’t share it, it’s private site not online.
    Any pointers?

    Steven

    (@shazahm1hotmailcom)

    The only thing I can think of is that the foot is rendered by the theme before the page content. Or, one of the registered dependencies of the script does not exist or was deregistered by another plugin or the theme. I suggest using the Query Monitor plugin to debug the latter.

    Thread Starter Silvan

    (@silvan)

    Thanks @shazahm1hotmailcom that pointed me in the right direction! Seemed that Jquery wasn’t loading (it was in functions with wp_deregister_script)

    But i’m already hours in to the next problem. The anchors arent put in the HTML?

    I fixxed it with a custom script, that put’s the id=”” part in.
    But now it’s not working with single quotes’ EZTOC shows this, how to get that in PHP? %e2%80%99

    Or any pointers why the anchors aren’t put in?

    Steven

    (@shazahm1hotmailcom)

    The anchors are inserted on the the_content filter and only when the content meets the eligibility requirements such as the minimum umber of headings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Easy Table of Contents – JS scripts not loaded?’ is closed to new replies.