Support » Plugins » [Plugin: SyntaxHighlighter Evolved] Script Loads When Not Needed

Viewing 2 replies - 1 through 2 (of 2 total)
  • The shortcode is being executed, it’s just not being shown and there’s no way for my plugin to know that you’re using excerpts instead of full content.

    Try adding this to your footer.php file, before wp_footer():

    <?php
    if ( is_home() ) {
    	global $SyntaxHighlighter;
    	$SyntaxHighlighter->usedbrushes = array();
    }
    ?>

    It works perfectly. Thanks for the quick reply! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SyntaxHighlighter Evolved] Script Loads When Not Needed’ is closed to new replies.