WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
Plugin do not work in main page (5 posts)

  1. ikeralbeniz
    Member
    Posted 3 years ago #

    I have installed the plugin and it works on single post bu do not work on main page.

    Here is the example:

    main page: http://www.ikeralbeniz.net/
    single post: http://www.ikeralbeniz.net/2011/01/19/posibilidad-de-cross-site-scripting-mediante-jquery-getjson-para-openbizkaibus-api/
    search page:http://www.ikeralbeniz.net/?s=bizkaibus

    i have been searching for a template problem.. but nothing ..

    i use INOVE theme.

    http://wordpress.org/extend/plugins/syntaxhighlighter/

  2. ikeralbeniz
    Member
    Posted 3 years ago #

    on main page <?php wp_footer(); ?> seems not to be working correctly.. and do not add javascript to load

  3. ikeralbeniz
    Member
    Posted 3 years ago #

    i have been serachng in code and i can see that in the function maybe_output_scripts() $this->usedbrushes is empty..

  4. ikeralbeniz
    Member
    Posted 3 years ago #

    finally i have found the error:

    in main page i use the_excerpt() function so i only show a description..

    i have added a filter on syntaxhighlighter.php

    add_filter( 'the_excerpt',array(&$this, 'parse_shortcodes'),7 ); // Posts

    i think this would be nice to be added on official release

  5. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    I will not be adding such a feature. The excerpt is meant for displaying a short excerpt (no formatting, videos, etc.).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic