Back to HomePage

Modifying Hack

Hack per far apparire widget solo in HP/ovunque tranne che in HP.

4. Modify the Widget code

Modify the code as shown below by adding the “if” condition (in bold). Make sure you add the “if” condition just after the b:includable id="main" section="" and the closing “if” code just before the /b:includable.

b:widget id='AdSense1' locked='false' title='' type='AdSense'
b:includable id='main'
b:if cond="data:blog.homepageUrl != data:blog.url" in tutte le pag. tranne HP
b:if cond='data:blog.homepageUrl == data:blog.url' >/span>solo in HP
div class='widget-content'
data:adCode/
/div

/b:if
/
b:includable
/b:widget

Back to HomePage