How to Modify Your WordPress Theme Header and Footer

A typical web page has a header and footer area. These two sections are crucial because they hold key info about your website. Ordinarily, most visitors to a website will notice the header first before anything else and they can make judgments about the website based on their impression of the header. Needless to say, the header and footer sections deserve more attention when designing your pages.

The WordPress Theme Header and Footer

WordPress uses a simple templating system where all header content is contained in a piece of code stored in the header.php template file. Likewise, footer content is stored in the footer.php file. The code in these files is mostly plain HTML with bits of PHP code (template tags) that display the metadata dynamically.

The basic WordPress header has two parts: the topmost part is the meta-header part where you can insert meta-data tags for SEO purposes. It also contains links to the theme’s stylesheets. The lower part of the header contains all your branding info (company or website name, logo, and tagline).

The classic footer also has two main sections: the topmost section contains the sitemap, social buttons, privacy policy, legal disclaimers and other important info about your website while the lower part contains copyright info and the date. However, you can divide your footer into multiple columns rather than two horizontal rows.

Editing The Header

For the most part, you don’t have to touch code in the header.php file to edit the header. Most themes come with easy-to-use admin panels for customizing headers, footers, and other areas of a page. However, if you want a more custom look that your theme doesn’t offer, you might have to get your hands dirty and delve into the header code along with the CSS code in the stylesheet.

In this brief tutorial, I’ll show you how to insert a custom logo into the header of the TwentyThirteen theme.

The first step is to setup a child theme for the TwentyThirteen theme:

WordPress Theme Header and Footer page1

Copy and paste your theme’s header.php file into your child theme’s folder. This is what you’ll be editing rather than the main copy. However, you will not actually be doing any editing here. All changes will be done in the stylesheet.

Now if you analyze the header.php file, you will notice that the site title is contained in the h1 tag and displayed by the blog_info () template tag.

WordPress Theme Header and Footer page2

We’ll use a simple CSS trick to hide the site title text and instead display a logo. Open the style.css file in the child theme folder and paste this code there:

WordPress Theme Header and Footer page3

Change width and height to match the dimensions of your logo. And that’s it. You’ve just inserted a logo into the header of the TwentyThirteen theme:

WordPress Theme Header and Footer page4

Editing The Footer

Editing the footer requires either modifying the code in the footer.php file or making style changes in style.css or both. So in this brief tutorial, we’re going to remove the “Powered by WordPress” sentence in the bottom part of the footer and replace it with custom copyright info and the date.

Copy the footer.php file in the main theme folder and paste it into your child theme’s folder. Open it in a code editor.

Remove the line that starts with anchor tag a (line 19):

WordPress Theme Header and Footer page5

This is a hyperlink that takes you to the website when clicked on.

You should now have your website title displayed along with the year and copyright:

WordPress Theme Header and Footer page6

This is how you edit the header and footer of a WordPress theme. Remember, all edits should be done on child theme files; otherwise, you will lose all changes if the main theme is updated. If you only want to make layout changes, edit the style.css file only and leave the template files.

Changes only affect the theme whose files you’re editing. If you choose another theme, you’ll have to edit the respective header and footer template files.

Do you edit your theme files directly or do you use the theme’s admin panel? Which method is more powerful for you and why?

Are you interested in reading about the pros and cons of long scrolling web design? Click here.



Enjoyed this post? Share it!


Why Are Mobile Ads Important And How Can HeatMap Pro Help You

Ever since the smartphone revolution, people have been doing more stuff on their mobile phones rather than on computers.

Whosoever runs a website knows the importance of having a mobile friendly  site. Even Google favors mobile friendly sites and gives it priority if opened from a mobile web browser.

Now a days, mobile browsers have become so efficient that they are able to display as much information is there on the site when opened from a normal computer browser. These browsers store cookies, can save passwords and display ads. Yes, mobile browsers have started supporting ads on web pages. This is opened up a huge opportunity for many website owners to monetize their space.

In this blog, I will explain you about why having mobile ads are important for your business and how our theme – HeatMap AdAptive Pro can help you get ads on your website easily and in the most effective way.

Currently, there are four types of mobile ads that Google Ads supports:

  • Text ads
  • Image ads
  • App promotion ads
  • Call-only ads

Also there are certain banner sizes that are recommended:

  • Smart phone: 320×50, 300×250, 336×280 Interstitial
  • Tablet: 300×250, 728×90, 468×60, 336×280 Interstitial

So, now that you know the types and sizes of mobile ads in brief, lets move forward to why having mobile ads are important, if you have ads on the desktop version of your website.

As, you must know mobile now accounts for over 50% of traffic on the web and this figure is only going to increase in coming years. So, in order to tap into this huge opportunity you need to be ready now.

Our HeatMap AdAptive Pro WordPress theme is simply the best Google Adsense theme in the market. It follows all the Google Ads guidelines and hence you don’t have to worry about any penalties.

It also comes with the Click Missile Plugin which enhances its functionalities even further.

So, get HeatMap Pro today.

Want to know more about HeatMap Pro, click here for the complete features list.

Enjoyed this post? Share it!


HeatMap AdAptive Version 1.4.7 Released

With this release,

You will have a website homepage with SEO friendly features.

Set the Homepage SEO Title, Homepage SEO Description and Homepage SEO Keywords and you are all set for your SEO page rankings to go higher.

HeatMap HomePage SEO

To download the latest version, please login to your Member Area

If you face any problems, please write to us at [email protected]

Enjoyed this post? Share it!


Everything About Organic Traffic Every Site Owner Should Know


Organic traffic is traffic sent to a website from search engines for free. This typically happens when the search engines like the content on the site. This type of traffic usually accounts for over 80% of the total clicks on a search engine page. Organic search results appear on a search engine based on their relevance to the search query. Major search engines attest to the fact that many of their users tend to click on the organic results when compared to the ads. This is one reason that every website owner who wants to be in business wants to have organic traffic on his site more than anything else.

Black hat SEO techniques, on the other hand, refer to methods used by individuals and companies to gain high rankings by breaking some search engine optimization rules while at it. In short, Black SEO is getting rankings in an unethical manner. When search engines catch a site using these methods, they normally penalize it. This method unlike organic traffic focuses on the search engine and not on the human audience.

For any website to have good rankings, white hat SEO should be applied. Every site owner should spend time improving on organic SEO as opposed to the unethical methods. Below are black hat SEO techniques that every site owner should avoid.

Keyword stuffing

Organic SEO is all about content and keywords. However, when the keywords are overstuffed they do not look natural. Every site owner should strive to write content that is for the humans to read and not the search engine spiders to index.


This technique is used when a site owner tends to show different content to crawlers than what is displayed on the site. In many instances, when a search engine proves that a page is using this on-page optimization technique, it gets banned.

Spinning articles

When many site owners think of how to increase website traffic, many are misled to try this technique. They post a unique version of content on the site by rewriting content that is already in existence. This method reduces the quality of the content completely.

At the end of the day, everyone who wants to get some good rankings online can get them if only the right techniques are followed. Just like in any other area, the internet requires patience and hard work. Every site owner should only use natural and allowed search engine optimization tips to increase on his site’s traffic and rankings.

Enjoyed this post? Share it!


Top 5 Ways to Prevent Your Google Adsense From Getting Banned


Are you making consistent income from Google Adsense? If you answered yes, then I’ll assume that you are staying compliant with the Google Adsense policies.

You have built your blog with a lot of hard work. Creating a reputation among your readers has also been a very demanding task. You expect to keep making a lavish earning. But if you fail to adhere to even a single Google Adsense policy, your AdSense account will be disabled or in some cases will be banned. Google is very strict about these policies. being ignorant or deceiving will put you in a lot of trouble.

Let’s walk you through the top 5 Google AdSense policies that will secure your Google AdSense account:

Avoid Invalid Clicks and Impressions

Don’t click on your own ads. You may want to check if the ads are working properly or you may want to get more information about the advertisers – but there are lots of ways to do this. If you choose to click on your own ads under this pretext, Google will take note of it and these invalid clicks will cause you a problem.

Also, asking your family or friends, social media followers or emailing your list to click on the ads on your website goes against Google Adsense policies.

Don’t encourage others using misleading or deceptive methods to generate more clicks. Offering compensation, or using phrases such as “Click on Ads” or “Support us”, or placing misleading labels on Google ads are all sure ways to get banned.

Google says,

“Users should always click on Google ads because they’re interested in the services being advertised, not to raise money for your site or for a cause, or to generate some sort of reward for themselves.”

Content Guidelines

Google Adsense has very strict policy of not placing ads in blogs with restricted content, like adult or mature, copyrighted, violent, or hateful content, excessive profanity or content that promotes illegal activity.

Content which offers compensation for clicking ads, low quality content or sites using black hat SEO techniques are penalized by Google by lowering their rankings.

Create relevant and in-depth content for your site and adhere to Google web-masters guidelines.

Ad Implementation

Google does not permit to alter its ads codes it any way, unless it is authorized by Google. Do not use pop up prompts or other prompts to install any software or attempt changes to the user’s browser home page.

Google believes in,

“Improving the user experience on the Internet, and promoting responsible software principles.”

Ad Placement

Don’t use tricks to stimulate accidental clicks. To avoid this don’t place ads near or on page controls like scroll bar or closing tab.

Do not create pages only for Google ads or place them in emails or pop ups. Don’t confuse users by placing ads near images or links and misusing Google logos or trademarks for your ads.

Traffic Sources

Do not purchase traffic from third parties who participate in paid-to-click programs, send unwanted emails, or install unwanted software to display ads.


Google gives more importance to better user experience and all its policies are created in the same direction. So in order to continue enjoying stable income and not getting banned from Google Adsense, make sure to strictly follow all the rules by Google Adsense. Google keeps updating their policies, so stay updated all the time.

Has your Google Adsense account ever been disabled or banned? How were you able to set it back? What is your experience with Google Adsense? Share your experiences below in the comments.



Enjoyed this post? Share it!