How To Add A New Page Element (For Adsense Ads or Image / Picture) In Blog Header Of Blogger Templates

The updated Google Adsense Program Policy allows the publishers to place maximum of 3 Link Units on a single page, instead of 1. One strategic place to put Link Unit is below or above the blog header, as it works like a navigation link.

To do so in New Blogger template, we need to add a new page element widget at the blog header part. However, the New Blogger templates, both standard and modified templates available in the web, generally do not provide an “Add a Page Element” widget to add a page element at the blog's header part.

To add a new page element at the blog’s header part, we need to make some changes to the template codes. No clue how to do it? Don’t worry. It’s quite simple actually.

Here are the steps to add an “Add a Page Element” widget at Blog Header:

1) Log in to Blogger. In the Dashboard, click “Layout” and it will bring you to “Template” tab. Then click “Edit HTML”. This will open the template editor window.

2) Please remember that every time before you make any changes to the template, save a copy of your original codes first. In case there is something wrong, you can get back your original template again.
(Read this post in case you are not sure how to back up your template: How To Backup Your Blogger Template Codes).

3) Find the following codes in the template editor:
(You can simply click Ctrl+F for find the keyword



4) Look particularly for the following:

a) maxwidgets='1'. Change it to: maxwidgets='3'.
You can change the number depending on how many widgets (maximum) you’d like to add at the header.

b) showaddelement='no'. Change it to: showaddelement='yes'.

After you change this, save the template by clicking “Save” button.

5) After that, click "Page Elements". Now you can notice that an additional "Add a Page Element" has been added at the Header".

Yes, it’s done. Now you can add a page element at the header part.
For example:
To place Adsense just below the blog header (e.g. to place an Adsense’s Link Unit under the header), firstly generate the Adsense codes (for Ads Unit, Link Unit or Google Search Bar) from your Adsense account.
Then click the "Add a Page Element” button at the top of the “Header”.
When a new window pops up, select “HTML/Javascript”, and then click "Add to blog".
Paste the Adsense codes into the box, and click "Save changes".
Then we can place the adsense under the header simply by dragging the new page element below the blog header.


View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

0 comentarios:

Publicar un comentario