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();
    }
    ?>
    Thread Starter Brian

    (@galaxyfox)

    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.