Blank Gallery Path
-
When using the code provided in an answer below:
“@howdy_mcgee – We may have a correction for this although it is still being tested. You are welcome to try the following:
… via FTP, go to ../wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/templates/manage_gallery/gallery_path_field.php
replace this line (should be line 6)
value=”<?php echo esc_attr(str_replace(‘\\’, DIRECTORY_SEPARATOR, $gallery->path)) ?>”with this
value=”<?php echo esc_attr(preg_replace(‘#[/\\]+#’, DIRECTORY_SEPARATOR, $gallery->path )); ?>”Please let us know if this helps.
Thanks!
– Cais.”
This code works but now the gallery path is blank.
- The topic ‘Blank Gallery Path’ is closed to new replies.