• Resolved Vilyon

    (@vilyon)


    Hi,
    There is a problem caused by the plugin, as it moves ‘wpautop’ filter at the end of the processing queue and after all the shortcodes are processed. So the output of the other plugin’s shortcodes is broken by the unwanted
    and <p> tags.
    The code in question is located at the very bottom of the “adamrob-parallax-scroll/includes/adamrob-parralax-shortcode.php” file:
    remove_filter( 'the_content', 'wpautop' );
    add_filter( 'the_content', 'wpautop' , 99);
    add_filter( 'the_content', 'shortcode_unautop',100 );

    Please consider removing these lines and calling the wpautop function directly for the your shortcode output text (like wpautop( $output);), if you still want to use it.

    https://www.ads-software.com/plugins/adamrob-parallax-scroll/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Love this plugin but it’s breaking my page.
    As you say it messes with other plugins.

    I’ve looked for this code in the file but can’t see it.

    Thread Starter Vilyon

    (@vilyon)

    Sorry for the panic, it seems that the issue is fixed already in the latest version.
    I’ve wrote the original message based on the issue in one of my customer’s installations, unfortunately I didn’t check the version there.

    WebbieWebbster, check the installed version and update it if needed.

    Plugin Author adamrob

    (@adamrob)

    The code you have referenced is not part of this plugin.
    If you found that code in one of the plugin files, someone must have placed it there; hence updating the plugin removed it again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin is braking other shortcodes’ is closed to new replies.