Adding ads within topics on Blogger and modifying the format

Ads within topics are the most profitable on Blogger because the topic is not desired and is the most important thing for the visitor. For this, advertisements must be placed within the topic for the visitor to see, thus getting clicks, and this means more profits.

Many free templates do not have many places to place ads, the largest number you may find in any free template is only 3 ads within the topic. Announcement first, middle and last topic. While you can find quite a lot of places in the paid templates.

In this lesson, I will share with you adding ads within the topic with a very large number that will enable you to choose the right place you want to display ads.

Of course, this explanation is presented for the first time on Arabic content, not to brag, but for information only. Without elaborating, let's move on to the explanation directly.

Explain how to install ads inside topics on Blogger 2022

First, look for the following code:


]]></b:skin>

Right above it, put the following code:



/* Jistweb ads  */
div#Topa3lan-sc .HTML,div#Topa3lan-sc2 .HTML{box-shadow:none;background:transparent!important;padding:0!important;border:0;margin:0}div#PostA3lan .widget,div#PostA3lan2 .widget{background:transparent!important;border:0!important;padding:0 20px!important;margin:0!important;box-shadow:none!important}.SeoPlusAds,#Blog1 .HTML{font-family:'Segoe UI';background:transparent!important;margin:15px 0;text-align:center;font-size:13px;display:block;clear:both;border:none;overflow:unset!important;box-shadow:none;padding:0!important;border-radius:0}div#HTML100 .SeoPlusAds{margin-top:0}div#top-a3lan .HTML{margin-top:0}div#bot-a3lan .HTML{margin-bottom:0}.pnavigation .HTML{margin-bottom:15px!important}div#bot-a3lan,div#top-a3lan,div#ret-a3lan{overflow:initial}div#ret-a3lan .HTML{background:#fff!important;padding:15px 0!important;margin:0!important;border-bottom:1px solid #f3f3f3}

div#PostA3lan .HTML {width: 49% !important;float: right !important;clear: none;margin-left: 0.5% !important;}

Now you're looking for the </b:section> code and keep searching until you see the words Comments or the comments section. We will explain this paragraph in the video below the blog.


Right above it, paste the following code:

<b:section cond='data:view.isPost or data:view.isLayoutMode' id='PostA3lan' maxwidgets='1' showaddelement='no'>
                <b:widget id='HTML201' locked='true' title='أعلان اول الموضوع' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>^^^^^^</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelector("div#top-a3lan")){document.querySelector("div#top-a3lan").appendChild(document.querySelector("div#HTML201 .HTML"))}else{document.querySelector("div#HTML201 .HTML").innerHTML="";}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML202' locked='true' title='أعلان منتصف الموضوع' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ممممممممممممممممم</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelector("div#s7bcent-a3lan-PagePrake")){document.querySelector("div#s7bcent-a3lan-PagePrake").before(document.querySelector("div#HTML202 .HTML"))}else{document.querySelector(".post-body p")?document.querySelectorAll(".post-body p")[Math.floor(document.querySelectorAll(".post-body p").length/2)].after(document.querySelector("div#HTML202 .HTML")):document.querySelector(".post-body br")?document.querySelectorAll(".post-body br")[Math.floor(document.querySelectorAll(".post-body br").length/2)].after(document.querySelector("div#HTML202 .HTML")):document.querySelector("div#HTML202 .HTML").innerHTML="";}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML203' locked='true' title='أعلان أخر الموضوع' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ااااااااااااااااااااا</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelector(".PagePrakediv")){document.querySelector(".PagePrakediv").after(document.querySelector("div#HTML203 .HTML"))}else if(document.querySelector(".page-navigation")){document.querySelector(".page-navigation").after(document.querySelector("div#HTML203 .HTML"))}else{if(document.querySelector("div#bot-a3lan")){document.querySelector("div#bot-a3lan").appendChild(document.querySelector("div#HTML203 .HTML"))}else{document.querySelector("div#HTML203 .HTML").innerHTML="";}}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML204' locked='true' title='أعلان مقالات ذات صله' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ttttttttt</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelector("div#ret-a3lan")){document.querySelector("div#ret-a3lan").appendChild(document.querySelector("div#HTML204 .HTML"))}else{document.querySelector("div#HTML204 .HTML").innerHTML="";}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML221' locked='true' title='اعلان بعد فاصلة الانتقال' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>tttttttttttt</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelector(".post-body a[name='more']")?document.querySelector(".post-body a[name='more']").after(document.querySelector("div#HTML221 .HTML")):document.querySelector("div#HTML221 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML205' locked='true' title='اعلان بعد اول فقرة' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>tttttttttttttt</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelectorAll(".post-body p")[0]){document.querySelectorAll(".post-body p")[0].after(document.querySelector("div#HTML205 .HTML"))}else if(document.querySelectorAll(".post-body br")[0]){document.querySelectorAll(".post-body br")[0].after(document.querySelector("div#HTML205 .HTML"))}else{document.querySelector("div#HTML205 .HTML").innerHTML="";}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML206' locked='true' title='اعلان بعد ثاني فقرة' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>fffffffffffff</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelectorAll(".post-body p")[1]){document.querySelectorAll(".post-body p")[1].after(document.querySelector("div#HTML206 .HTML"))}else if(document.querySelectorAll(".post-body br")[1]){document.querySelectorAll(".post-body br")[1].after(document.querySelector("div#HTML206 .HTML"))}else{document.querySelector("div#HTML206 .HTML").innerHTML="";}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML207' locked='true' title='اعلان بعد ثالث فقرة' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ffffffffffff</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelectorAll(".post-body p")[2]){document.querySelectorAll(".post-body p")[2].after(document.querySelector("div#HTML207 .HTML"))}else if(document.querySelectorAll(".post-body br")[2]){document.querySelectorAll(".post-body br")[2].after(document.querySelector("div#HTML207 .HTML"))}else{document.querySelector("div#HTML207 .HTML").innerHTML="";}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML208' locked='true' title='اعلان بعد اول عنوان اساسي' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ffffffffffffffff</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/if(document.querySelectorAll(".post-body h1")[0]){document.querySelectorAll(".post-body h1")[0].after( document.querySelector("div#HTML208 .HTML"))}else{document.querySelector("div#HTML208 .HTML").innerHTML='';}/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML209' locked='true' title='اعلان بعد اول عنوان' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>fffffffffff</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h2")[0]?document.querySelectorAll(".post-body h2")[0].after(document.querySelector("div#HTML209 .HTML")):document.querySelector("div#HTML209 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML210' locked='true' title='اعلان بعد ثاني عنوان' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ffffffffff</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h2")[1]?document.querySelectorAll(".post-body h2")[1].after(document.querySelector("div#HTML210 .HTML")):document.querySelector("div#HTML210 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML211' locked='true' title='اعلان بعد ثالث عنوان' type='HTML' version='2' visible='true'>
                  <b:widget-settings>
                    <b:widget-setting name='content'>ffffffffffff</b:widget-setting>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h2")[2]?document.querySelectorAll(".post-body h2")[2].after(document.querySelector("div#HTML211 .HTML")):document.querySelector("div#HTML211 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML212' locked='true' title='اعلان بعد اول عنوان فرعي' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h3")[0]?document.querySelectorAll(".post-body h3")[0].after(document.querySelector("div#HTML212 .HTML")):document.querySelector("div#HTML212 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML213' locked='true' title='اعلان بعد ثاني عنوان فرعي' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h3")[1]?document.querySelectorAll(".post-body h3")[1].after(document.querySelector("div#HTML213 .HTML")):document.querySelector("div#HTML213 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML214' locked='true' title='اعلان بعد ثالث عنوان فرعي' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h3")[2]?document.querySelectorAll(".post-body h3")[2].after(document.querySelector("div#HTML214 .HTML")):document.querySelector("div#HTML214 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML215' locked='true' title='اعلان بعد اول عنوان ثانوي' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h4")[0]?document.querySelectorAll(".post-body h4")[0].after(document.querySelector("div#HTML215 .HTML")):document.querySelector("div#HTML215 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML216' locked='true' title='اعلان بعد ثاني عنوان ثانوي' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h4")[1]?document.querySelectorAll(".post-body h4")[1].after(document.querySelector("div#HTML216 .HTML")):document.querySelector("div#HTML216 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML217' locked='true' title='اعلان بعد ثالث عنوان ثانوي' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body h4")[2]?document.querySelectorAll(".post-body h4")[2].after(document.querySelector("div#HTML217 .HTML")):document.querySelector("div#HTML217 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML218' locked='true' title='اعلان بعد اول اقتباس' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                   </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body blockquote")[0]?document.querySelectorAll(".post-body blockquote")[0].after(document.querySelector("div#HTML218 .HTML")):document.querySelector("div#HTML218 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML219' locked='true' title='اعلان بعد ثاني اقتباس' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body blockquote")[1]?document.querySelectorAll(".post-body blockquote")[1].after(document.querySelector("div#HTML219 .HTML")):document.querySelector("div#HTML219 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
                <b:widget id='HTML220' locked='true' title='اعلان بعد ثالث اقتباس' type='HTML' version='2' visible='false'>
                  <b:widget-settings>
                    <b:widget-setting name='content'/>
                  </b:widget-settings>
                  <b:includable id='main'><div class='HTML'><data:content/></div><script>/*<![CDATA[*/document.querySelectorAll(".post-body blockquote")[2]?document.querySelectorAll(".post-body blockquote")[2].after(document.querySelector("div#HTML220 .HTML")):document.querySelector("div#HTML220 .HTML").innerHTML="";/*]]>*/</script></b:includable>
                </b:widget>
              </b:section>

Finally, you are looking for the following code:

<data:post.body/>

Replace it with the following code:


<b:if cond='data:view.isPost'><div id='top-a3lan'/></b:if>

<data:post.body/>

<b:if cond='data:view.isPost'><div id='bot-a3lan'/></b:if>

You click on save template, go to the format, and place the advertisement that you want to appear in the place you want.

Share on Google Plus

About black

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 Comments:

Post a Comment