1

Hack Blogger New Template

Posted July 24th, 2007 in Tips & Trick and tagged , by AM

Subscribe to My Blog by Email

Today, when i try to edit my template i found the way add widget to header and main page. Just edit few code without add any code, then i can add widget at header and main page at my blog template. Use this i can add my adsense code automatically, without add script at each post. Let’s start !!!

  • Go to your template configuration then click edit HTML
  • On your edit template form find code like this

Header Section

<div id=’header-wrapper’>
<b:section class=’header’ id=’header’ maxwidgets=’1′ showaddelement=’no’>
<b:widget id=’Header1′ locked=’true’ title=’spypark.reborn Blog”s (Header)’ type=’Header’/>
</b:section>
</div>
<div id=’content-wrapper’>

Post Section

<b:section class=’main’ id=’main’ showaddelement=’no’>
<b:widget id=’Blog1′ locked=’true’ title=’Blog Posts’ type=’Blog’/>
</b:section>
</div>


  • On header section you need to delete attribute maxwidgets and set attribute showaddelement to yes
  • Check again your code, the result may like this

Header Section

<div id=’header-wrapper’>
<b:section class=’header’ id=’header’ showaddelement=’yes’>
<b:widget id=’Header1′ locked=’true’ title=’spypark.reborn Blog”s (Header)’ type=’Header’/>
</b:section>
</div>
<div id=’content-wrapper’>

Post Section

<b:section class=’main’ id=’main’ showaddelement=’yes’>
<b:widget id=’Blog1′ locked=’true’ title=’Blog Posts’ type=’Blog’/>
</b:section>
</div>

  • after that hit button Save Template
  • then go to Page Element and you can add element at header or post section

Have fun !!!

One Response so far.

  1. Anonymous says:

    Yeah … That’s work ..
    i change this code to :
    <div id=’main-wrapper’>
    <b:section class=’main’ id=’main’ showaddelement=’no’>
    </b:section>
    </div>

    to :

    <div id=’main-wrapper’>
    <b:section class=’main’ id=’main’ showaddelement=’yes’>
    </b:section>
    </div>

Leave a Reply





To use reCAPTCHA you must get an API key from https://www.google.com/recaptcha/admin/create