How To Put Ads Into Blog Article
Go to the THEMES from the blog that will add ads in the middle of the article
Then Edit HTML.
Do not forget to backup your template by downloading the template so that it is safe if something happens that you don't want when editing later.
Search for the word <data: post.body /> using CRT + F, then write <data: post.body /> enter. There you will find a number of different codes. Usually the second code.
If you are wrong you may try one by one. Use CTR + Z to cancel edits in HTML or toUNDO, if you want to reverse the initial conditions before editing.
Change <data: post.body /> with the following code:
Number two in the sentence "var t = s. Substr (0, s.length / 2);" above if you want your ad right in the middle of your article or 1/2 of your article.
If the location of the ad in 1/3 of the article you can change the number 2 to number 3,
Then Edit HTML.
Do not forget to backup your template by downloading the template so that it is safe if something happens that you don't want when editing later.
Search for the word <data: post.body /> using CRT + F, then write <data: post.body /> enter. There you will find a number of different codes. Usually the second code.
If you are wrong you may try one by one. Use CTR + Z to cancel edits in HTML or toUNDO, if you want to reverse the initial conditions before editing.
Change <data: post.body /> with the following code:
<div expr:id='"post1" + data:post.id'/> <div class='googlepublisherads' style='margin:20px 0'> <center> <--YOUR ADS CODE HERE--> </center> </div> <div expr:id='"post2" + data:post.id'><data:post.body/></div> <script type='text/javascript'> var obj0=document.getElementById("post1<data:post.id/>"); var obj1=document.getElementById("post2<data:post.id/>"); var s=obj1.innerHTML; var t=s.substr(0,s.length/2); var r=t.lastIndexOf("<br>"); if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+4);} </script>
Number two in the sentence "var t = s. Substr (0, s.length / 2);" above if you want your ad right in the middle of your article or 1/2 of your article.
If the location of the ad in 1/3 of the article you can change the number 2 to number 3,
if you want the ad position to be in the 1/4 of your article then change the number 2 to number 4.
Caution - In the recruitment process, legitimate companies never charge a fee from candidates. If there are companies that charge for interviews, tests, ticket reservations, etc., it is better to avoid them because there are indications of fraud. Do not transfer any payments when applying for a job.
Post a Comment
Post a Comment