Plugin Author
Niels
(@ndoorn)
Hi lagz,
You could try this, I haven’t tested it but I think it works. In the superzoomgallery.php file, at the end, replace this:
$content .= ' <div class="szg-thumbs">';
$content .= $thumbs;
$content .= ' </div>';
With this:
if (count($keys) > 1) {
$content .= ' <div class="szg-thumbs">';
$content .= $thumbs;
$content .= ' </div>';
}
Hope it works, please let me know.
Niels
Hi Niels
In the superzoomgallery.php file, at the end, replace the code as you say.
shows me the following error:
Warning: Cannot modify header information – headers already sent by (output started at …/public_html/site/wp-content/plugins/super-zoom-gallery/superzoomgallery.php:443) in …./public_html/site/wp-includes/pluggable.php on line 1121
that I can do?
Hi Niels
now corrected the error by showing the page but now displays errors when saving page
Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxx/public_html/site/wp-content/plugins/super-zoom-gallery/superzoomgallery.php:442) in /home/xxxxx/public_html/site/wp-admin/post.php on line 235
Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxxxx/public_html/site/wp-content/plugins/super-zoom-gallery/superzoomgallery.php:442) in /home/xxxxxx/public_html/site/wp-includes/pluggable.php on line 1121