WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Scroll Gallery
[resolved] Scroll Gallery Caption Proble (3 posts)

  1. fozzie_iom
    Member
    Posted 2 years ago #

    Hi I am having the same problems as other users using themes where the descriptions are breaking the gallery.

    I understand it is because my theme is replacing the custom wordpress content filters. This is shown in my themes shortcode.php file:

    `/* Remove the 2 main auto-formatters */
    remove_filter('the_content', 'wpautop');
    remove_filter('the_content', 'wptexturize');

    /* Before displaying for viewing, apply this function */
    add_filter('the_content', 'webtreats_formatter', 99);
    add_filter('widget_text', 'webtreats_formatter', 99);

    I have tried deleting these lines, which fixes the scrollGallery but then it breaks the rest of my sites shortcodes.

    Is there a way round this? Is it possible to add anything to nggScrollGallery.php to fix this?

    Thanks.

    http://wordpress.org/extend/plugins/nextgen-scrollgallery/

  2. Benedikt Mo
    Member
    Plugin Author

    Posted 2 years ago #

    what happen if you only replace 99 with 1 ?

  3. fozzie_iom
    Member
    Posted 2 years ago #

    Great Benedikt that seems to have fixed the problem. Why does changing it to 1 make it work?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic