User “dagi” on the support forums wanted to know how to install the Twitter Retweet wordpress plugin on his headway site. The plugin calls for a line of code to be added to the “single.php” file. However, headway isn’t structured like a regular theme, so editing files is complicated and often messy.
Luckily, user Scott figured it out with the use of this hook function. Add the following code to your custom_functions.php file:
function headway_twitterReTweet(){
if(function_exists('twitterReTweet')) { echo twitterReTweet(); }
}
add_action('headway_above_post_single', 'headway_twitterReTweet', 1);
It’s as simple as that. Thanks Scott!
Any Questions?
What questions do you have about using the Twitter Retweet plugin with Headway? Share your thoughts and opinions below!

Tweet