Skip to content

Instantly share code, notes, and snippets.

@scottnix
Last active December 20, 2015 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottnix/6067940 to your computer and use it in GitHub Desktop.
Save scottnix/6067940 to your computer and use it in GitHub Desktop.
Thematic Theme remove sidebars on Single Pages
<?php
// remove sidebars on single pages in thematic
function childtheme_thematic_sidebar($show) {
if ( is_single() ) {
$show = false;
}
return $show;
}
add_filter('thematic_sidebar', 'childtheme_thematic_sidebar');
@scottnix
Copy link
Author

Obviously the CSS will need to be adjusted for this, in certain instances it is better to use a different template, but this can be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment