WordPress.org

Ready to get started?Download WordPress

Forums

Random Content
[resolved] Random Content Incompatible with Nextgen Gallery (2 posts)

  1. agreda
    Member
    Posted 7 months ago #

    I was excited to use this plugin, it is pretty sweet.

    Unfortunately, it does not work with NextGen Gallery activated which throws a bunch of garbage when trying to render the same [random] shortcode it also uses.

    http://wordpress.org/plugins/random-content/

  2. agreda
    Member
    Posted 7 months ago #

    The fix for this is simple! I just edited line 17 of the plugin code to register a different shortcode unlikely to conflict with any others...

    add_shortcode( 'randomcontent', array( &$this, 'shortcode') );

    Just need to remember the edit whenever plugin gets updated!

Reply

You must log in to post.

About this Plugin

About this Topic