• Resolved selimovd

    (@selimovd)


    Hello everone,

    I’m using SyntaxHighlighter Evolved and want to use two custom brushes. First I tried the DAX brush from SQLBI (https://github.com/sql-bi/SyntaxHighlighterBrushDax) and tried to load it with a changed functions.php. Now I created a brush on my own.

    I wanted to load both brushes now with a plugins according to this tutorial:
    https://rubenalamina.mx/2013/07/11/adding-third-party-brushes-to-syntaxhighlighter-evolved-in-wordpress/

    What is strange in the source code the path to the DAX brush is still the old one from my very first try. The path to my own brush fits.
    I thought it’s a cache problem, so I updated the version of the brushes, but the website is still loading the old versions.

    How can I force syntaxhighlighter to load the latest brushes and update the folders? I don’t really understand where all of that is caches.

    Thank you and best regards

Viewing 1 replies (of 1 total)
  • Plugin Author Renatho (a11n)

    (@renathoc)

    Hello!

    It’s hard to say where is your problem. But it really seems to be cache. One try that would give you insights into where is the problem, is trying to check your brush through the network tab, checking the Status Code, and the file content.

    On the other hand, if you changed the script version (4th argument of wp_register_script), it should not cache.

    But I believe you’ll have some good insights when checking the network tab. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Brush not loading?’ is closed to new replies.