How to Change the Headway Themes 3.0 Copyright Message with PHP

Headway has a lot of elements in the footer that you can edit with PHP, but you’ll probable want to hide everything but the copyright when it gets down to it. So, how do you change the actual headway copyright message without having to use an extra hook? Use a filter!

This code snippet requires the usage of a child theme. Learn how to build one or download one of mine.

How to Change the Headway Copyright

To change your copyright message, just copy and paste the following code into the functions.php file of your child theme:

function copyright() {
echo '<p>All content &copy; Headway Expert 2012 - All Rights Reserved - Powered by <a href="http://headwayexpert.com/go/headway/" target="_blank">Headway Themes</a> &amp; <a href="http://combustiblecitrus.com/" target="_blank">Combustible Citrus</a></p>';
}
add_action('headway_footer_open', 'copyright', 1);

Obviously you’ll want to change the actual HTML code to link to your design company, or use your own headway affiliate link, etc. However, this makes it easier for child theme developers to drop in an attribution link without doing something like “headway_footer_open.”

Any Questions?

What questions do you have about modifying the default Headway copyright message? Share your thoughts and opinions in the comments.

Leave a Reply

*