Although WordPress already comes with a load of hooks, Headway adds to that and allows you have even more flexibility. Below are all of Headway’s hooks (actions and filters).
headway_before_everything is ran right after the <body> tag is opened.
After the header, navigation, etc. Before the container <div>.
Ran right before the <body> tag is closed.
Before the header link. The header link is where your site name, banner, or logo will be.
After the header link. The header link is where your site name, banner, or logo will be.
Will be displayed after the tagline (or slogan) in the header.
Will be ran after the navigation container <div>.
Will be ran after the breadcrumbs container <div>.
Will be ran inside the navigation <div> at the beginning. There is no default value.
Will be ran inside the navigation <div> at the end. There is no default value.
Ran at the top of the leaf HTML. Before the title and content.
LEAF-ID (action)Exactly the same as headway_leaf_top, but you can target a specific leaf.
Ran after the leaf title, but before the content.
LEAF-ID (action)Exactly the same as eadway_leaf_content_top, but you can target a specific leaf.
Ran after the content of the leaf. In other words, the complete bottom of the leaf.
LEAF-ID (action)Exactly the same as eadway_leaf_content_bottom, but you can target a specific leaf.
Above each post.
Accepted variables:
$count – ID of post in loop. This is not the post ID. The top post would be 1, the second would be 2, and so on.$single (boolean) – Simply true or false if the post is single or not.Above each post, but targeted for single posts.
Above each post title.
Accepted variables:
$count – ID of post in loop. This is not the post ID. The top post would be 1, the second would be 2, and so on.$single (boolean) – Simply true or false if the post is single or not.Below each post title.
Accepted variables:
$count – ID of post in loop. This is not the post ID. The top post would be 1, the second would be 2, and so on.$single (boolean) – Simply true or false if the post is single or not.Below content of each post.
Accepted variables:
$count – ID of post in loop. This is not the post ID. The top post would be 1, the second would be 2, and so on.$single (boolean) – Simply true or false if the post is single or not.Completely below each post.
Accepted variables:
$count – ID of post in loop. This is not the post ID. The top post would be 1, the second would be 2, and so on.$single (boolean) – Simply true or false if the post is single or not.Below content of the post on a single template.
Below the comments and comment form on a single post.
Above the page.
Above the page title.
Below the page.
Fires right after <div id=”footer”> is opened.
Displays before the copyright HTML.
Fires right before <div id=”footer”> is closed.
Contains the attribution back to the Headway website. If you are under a personal license you cannot use this hook to remove or hide the footer attribution in anyway (psh, that’s what developer licenses are for! After all, you CAN upgrade).
Default Value:
<p>Powered By <a href="http://www.headwaythemes.com" title="Headway Premium WordPress Theme">Headway</a></p>
The copyright in the footer.
Default Value:
<p>Copyright © '.the_date('Y', false, false, false).' '.get_bloginfo('name').'</p>
The link in the footer linking to the top of the page.
Default Value:
<a href="#top">Go To Top</a>