+44 (791) 5698 086

Thesis – add banner to header

thesis hooks for footerThis tutorial will help you learn how to add banner or any custom code to the header section of thesis theme for wordpress.

People using thesis wordpress theme would like to use the empty space next to the logo / header part of the theme by adding some banner ad in the header or any other stuff there (like social media links)

This will need you to add code as a custom function in custom_functions.php file for thesis theme (can be done via wordpress backend too).

Custom Function (custom_functions.php)

function custom_header() { 
<div id="custom_header">
<!-- add your custom code here -->
</div>
}

Custom CSS

This will now show the custom code in the head section of your websites frontend. Now its time to add css to make it suit its presence on your blog. Simple add css code for the id custom_header in custom_css.php file and you’re all set.

So this way you can add either google adsense ad or any custom code to your header section on thesis theme for wordpress

Let me know if you have any queries or want our services to do it for you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Who are we?

Nabtron team includes web, desktop software and mobile apps developers along with SEO professionals.

We are available 24 hours, 7 days a week. Contact us now for anything you need!

Join our mailing list

Lets become friend :) What's your name & email?