Created
December 21, 2011 21:28
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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