Abstract: advertising codes are to adsense or other , must first be modified with a parser. To do this, for free, click on this link
to insert advertising at the beginning of the post:
From the panel to go to Design -> edit html -> Check Expand widget templates and look for:
\u0026lt;div class='post-body entry-content'> (which can also be: \u0026lt;div class='post-body'>)If you use the articles will be expandable so
\u0026lt;div class = 'post-body entry-content' expr: id = '& quot " post- ; + date: post.id '>immediately above and insert this code, which is what appears just below the article title
\u0026lt;b: if cond =' data: blog.pageType == & ; quot; " item '>Per Inserire la pubblicità alla fine del post:
\u0026lt;p> Advertising Code, as amended by Parse
\u0026lt;/ p>
\u0026lt;b:else />
<p>
Codice Pubblicità modificato con Parse per la homepage e gli archivi
</p>
</b:if>
Si deve cercare la riga di codice
<data:post.body/>oppure
<p><data:post.body/></p> (se avete inserito gli articoli espandibili)Immediatamente dopo inserite questo codice
\u0026lt;b:if cond='data:blog.pageType == "item"'>to insert advertising on the left of the post:
\u0026lt;p>
Advertising Code, as amended by Parse of leaderboard
\u0026lt;/ p>
\u0026lt;/ b: if>
In this case, the Adsense code should be enclosed by the following lines Code
\u0026lt;span style = 'float: left; margin: 8px 8px 8px 0px;'>to insert advertising to the right of posts:
modified Parse Adsense Code
\u0026lt;/ span>
In this case, the Adsense code should be enclosed by the following lines of code
\u0026lt;span style = 'float: right; margin: 0px 8px 8px 8px ; '>to insert advertising in the middle of the post:
Adsense Code amended Parse
\u0026lt;/ span>
You should try the line of code
\u0026lt;date: post.body />or
\u0026lt;p> \u0026lt;data:post.body/> \u0026lt;/ p> (if you have added items expandable) and replace it with
\u0026lt;div expr:id='"aim1" data:post.id'> + \u0026lt;/ div>
\u0026lt;div style="clear:both; margin:10px 0">
\u0026lt;b: if cond = 'data: blog. pageType == " " item '>
Advertising Code, as amended by Parse
\u0026lt;/ b: if>
\u0026lt;/ Div>
\u0026lt;div expr:id='"aim2" + data:post.id'>
\u0026lt;data:post.body/> tag ;
\u0026lt;/ div>
\u0026lt;script type="text/javascript">
was obj0 = document.getElementById ("aim1 \u0026lt; ; data: post.id />");
was obj1=document.getElementById("aim2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
0 comments:
Post a Comment