Wordpress plugin not working!

Everything concerning the Wordpress/Joomla/Drupal plugins
Post Reply
Posts: 3
Joined: Thu Aug 13, 2020 3:24 pm

Fri Oct 02, 2020 11:27 am

Her you can read a developer that supported us, https://github.com/Kntnt/kntnt-ggpkg-shortcode-fix

Pleas team Garden Gnome correct this asap. I like your product very much but this is a big problem!!!

Kntnt Fix for Garden Gnome Package
WordPress mu-plugin that removes empty lines from the JavaScript outputted by the shortcode of Garden Gnome Package viewer to prevent wpautop to mess with it.

The WordPress plugin for publishing Garden Gnome Packages provides the shortcode ggpkg to present Pano2VR and Object2VR packages on pages and posts.

The plugin's shortcode outputs JavaScript code which might contain empty lines. These lines will be converted into <p></p> by WordPress' infamous wpautop() function. That results in a syntax error in the JavaScript.

Awaiting a bug fix from Garden Gnome Software, you can use this plugin as a fix. It merely removes the empty lines before outputting te JavaScript.

How to install
I suggest you install this plugin as a "must use plugin":

In your wp-content directory, create a mu-plugins directory (if it not already exists).
Download kntnt-ggpkg-shortcode-fix.php and save it within the mu-plugins directory.
That's it!
the problem is also reported here.
https://wordpress.org/support/topic/bug ... -by-ggpkg/
User avatar
Posts: 11313
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

Fri Oct 02, 2020 8:41 pm

Hi PIngerstam,
I have asked for your package in the support e-mail you sent in.
Also, Thomas has asked for the package, until we get to see it, it will be hard to diagnose.

But I have tested this with my test WordPress website and it works ok, and I am not seeing any other reports of issues like this.
Not saying there is not a problem but until we can reproduce the issue it will be hard to debug.
So as much information as you can provide about your WordPress website will be good.
Interested in other plugins, themes etc.
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
Post Reply