Reply To: WordPress Gallery support

#2056
Livemeshlivemesh
Keymaster

BTW, if you have trouble when pasting the code, just ensure that you remove the condition from the existing function and do not copy the above contents. Just remove this condition and matching braces –

if (is_singular(array('post', 'page', 'portfolio'))) {
....
}