What do you mean by ‘gallery plugin’?
Y want to use the wordpress gallery (http://codex.wordpress.org/The_WordPress_Gallery)
plugin in jolene theme.
If I click on a gallery Jolene opens than the narrowest page layout to show a picture summary.
Well, an attachment page showing an image. I’m sorry, but Jolene has no options for attachment pages.
You can change it in the child theme or by using plugin.
To make attachment pages wide you can create a child theme and
1. Add body class $classes[] = ‘no-sidebar’ to jolene_body_class
if( is_attachment() ) {
$classes[] = 'no-sidebar';
}
return $classes;
2. Redeclare sidebar’s visibility function like so:
function jolene_set_2_sidebars_visibility() {
global $jolene_sidebars;
if( is_attachment() ) {
$jolene_sidebars['right'] = '';
$jolene_sidebars['left'] = '';
}
}
add_action( 'template_redirect', 'jolene_set_2_sidebars_visibility', 21 );
3. Set content-with of single to be wide at Appearance > Customize > Content-width.
There is another way for doing so:
1. Hide all widgets from attachment with jetpack’s visibility plugin and set content-width (3).
Thanks for the quick reply
I’m going to try your solution
By the way your Enigma theme is doing well with the plugin
Y have taken out the call for sidebar in the gallery template’s
But I like Jolene more