Skip to content

Instantly share code, notes, and snippets.

@rcstr
Created December 6, 2012 05:27
Show Gist options
  • Save rcstr/4222013 to your computer and use it in GitHub Desktop.
Save rcstr/4222013 to your computer and use it in GitHub Desktop.
<?php if ($content): ?>
<div id="<?php print $id ?>" class="<?php print $classes; ?>">
<?php print $content; ?>
</div>
<?php endif; ?>
function MYTHEME_preprocess_region(&$vars) {
$vars['id'] = $vars['region'];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment