Support Forums for LiveMesh Themes & Plugins › Forums › Appdev Theme Support › WordPress Gallery support › Reply To: WordPress Gallery support
October 7, 2013 at 10:28 am
#2051
Keymaster
Yes, it does not work at present in single pages and blog pages as well (in case excerpt or content contains the gallery). This will require a code change in
function mo_add_lightbox_hook($content) { global $post; $pattern = "/]*).(bmp|gif|jpeg|jpg|png)('|\")(.*?)>(.*?)<\/a>/i"; $replacement = '$7'; $content = preg_replace($pattern, $replacement, $content); return $content; }
This change will be in the next update. Thanks for bringing this to my attention.