Can you provide a URL for me to debug?
See if it works on the default wordpress template – it may be a theme issue.
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.
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
I confirm that solves my problem.
Thanks for your help