Skip to content

Instantly share code, notes, and snippets.

@michaelcarwile
Created August 27, 2014 01:37
Show Gist options
  • Save michaelcarwile/e45ad442bc7840a0f55a to your computer and use it in GitHub Desktop.
Save michaelcarwile/e45ad442bc7840a0f55a to your computer and use it in GitHub Desktop.
Genesis top bar area
<?php
// *copy below this line
//* Add top bar to site (loads above header and everything else)
add_action( 'genesis_before', 'top_bar' );
function top_bar() { ?>
<div id="top-bar-area">
<div class="wrap">
<!-- custom content here -->
</div>
</div>
<?php }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment