Skip to content

Instantly share code, notes, and snippets.

@ajmorris
Created December 21, 2011 21:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajmorris/1507788 to your computer and use it in GitHub Desktop.
Save ajmorris/1507788 to your computer and use it in GitHub Desktop.
Headway Child Theme functions.php file for adding a fluid header and footer
<?php
add_action('headway_html_open', 'aj_add_header');
function aj_add_header() {
echo '<div class="aj-header">Hello from the header!</div>';
}
add_action('headway_whitewrap_close', 'aj_add_footer');
function aj_add_footer() {
echo '<div class="aj-footer">Hello from the Footer!</div>';
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment