• Resolved [email protected]

    (@lorenzoswhalecouk)


    Hello

    I have the plugin WP Frontpage News and I am using there shortcode and also your shortcode on the same page and it is causing the NextGen not to show

    If I remove the WP Frontpage shortcode the image will show

    [singlepic id=27 w=200 h=275]

    [frontpage_news widget=”2512″ name=”Latest News”]

    I also have a Slideshow plugin with the shortcode [shslideshow id=”1″]

    So I believe the problem is with a conflict between WP Frontpage News and your plugin

    Any idea how to solve this?

    Kind Regards
    Lorenzo

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @lorenzos@whale.co.uk – Try adding define( 'NGG_DISABLE_FILTER_THE_CONTENT', true ); to your wp-config.php file or your theme’s functions.php file … this may help to sort out the issue.

    – Cais.

    Thread Starter [email protected]

    (@lorenzoswhalecouk)

    Hi Cais

    That fixed the problem, Thank you!

    Kind Regards
    Lorenzo

    Plugin Contributor photocrati

    (@photocrati)

    @lorenzos@whale.co.uk – That’s Great!

    This is actually a work-around for an issue with WordPress core, which may not be corrected for some time still.

    – Cais.

    Thread Starter [email protected]

    (@lorenzoswhalecouk)

    I am putting the code into my functions.php like this:

    <?php define( ‘NGG_DISABLE_FILTER_THE_CONTENT’, true ); ?>

    but it does not work, it only works when I put it in wp-config
    am i doing something wrong with the above code?

    Kind Regards
    Lorenzo

    Plugin Contributor photocrati

    (@photocrati)

    @lorenzos@whale.co.uk – It may not work in all cases if placed in the functions.php template file, my bad. As a plugin conflict it will need to be in the wp-config.php file so the constant is defined before the plugins are initialized.

    Sorry for the inconvenience.

    – Cais.

    Thread Starter [email protected]

    (@lorenzoswhalecouk)

    Hi Cais

    Thanks for the information! Its working great now

    King Regards

    Plugin Contributor photocrati

    (@photocrati)

    @lorenzos@whale.co.uk – Thanks for pointing out it did not work when you defined the constant in functions.php … that may be useful for others!!

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shortcode Conflict’ is closed to new replies.