Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author akarmenia

    (@akarmenia)

    Can you provide a URL for me to debug?

    Thread Starter Progi1984

    (@progi1984)

    Plugin Author akarmenia

    (@akarmenia)

    See if it works on the default wordpress template – it may be a theme issue.

    Thread Starter Progi1984

    (@progi1984)

    Yes I just find the problem.
    Before the wp_head function, i use this code
    <?php if ( !is_admin() ) wp_deregister_script('jquery'); ?>

    Because I use my version of jquery.

    So if I deregister jquery script (same if I use my own script), that disables crayon script.

    Plugin Author akarmenia

    (@akarmenia)

    Yep, that’s a good find! I’ll add that to the online docs. Instead of printing a <script> tag, register the new jquery with:

    wp_register_script('jquery', 'url/of/your/jquery');

    Since jquery doesn’t exist as a script, all scripts that depend on it will fail to load. This is done internally in wordpress and I don’t have control over it. I assume it doesn’t want to load just in case it throws errors, but I would rather throw errors that are very obvious and easy to find rather than dying silently, but I guess that fits in nicely with PHP :S

    Thread Starter Progi1984

    (@progi1984)

    I confirm that solves my problem.

    Thanks for your help

    Plugin Author akarmenia

    (@akarmenia)

    No problem!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Toolbar not working’ is closed to new replies.