Thread Starter
agreda
(@agreda)
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 🙂
Thread Starter
agreda
(@agreda)
@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!
Thanks for the feedback @agreda. I’ve got it on my list of things to do.
Thread Starter
agreda
(@agreda)
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…