WordPress.org

Support

Support » Plugins and Hacks » Random Content » [Resolved] Random Content Incompatible with Nextgen Gallery

[Resolved] Random Content Incompatible with Nextgen Gallery

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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!

    Thanks for this agreda. I was having exactly the same problem. Your solution worked a treat 🙂

    @endocreative Any chance this might get worked into an upcoming release? Please!

    I had actually forgotten about the issue, and was working on another site when I noticed a NGG gallery displaying where I put the [ random ] shortcode. Frustrated, I searched these forums, and found my own fix above!

    Plugin Author Jeremy Green

    @endocreative

    Thanks for the feedback @agreda. I’ve got it on my list of things to do.

    Thanks for checking in on this @endocreative

    I may have spoken too soon…it looks like Random Content will now break NextGen galleries shown on the same page, no matter what the random shortcode is. I reverted to v. 0.3 and had the same issue, so it may be due to something in a recent NGG update.

    NGG widgets don’t break, but if I place a gallery on a post/page that also has a Random Content shortcode, the gallery will only display its thumbnail.

    Maybe @technocrati might be able to chime in here…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Random Content Incompatible with Nextgen Gallery’ is closed to new replies.
Skip to toolbar