How To Add Read More in Your posts Blogger

How to add read more trick in your BLogger

read more is not in blogger templates if  you want to add this here i give you trick this trick add a read more in your blog automatically follow my some steps

How to add read more trick in your BLogger

Step1


  •     Go to template>edit html>

Step2


  •     For search  In Code Please Note Only Search in Code
  •     Press CTRL+F
  •     Find </head>   

Step3


  •    Copy Code and paste Above on </head>

Copy this Code

   <script type='text/javascript'>
var thumbnail_mode = "no-float" ; 
summary_noimg = 400;  /* Summary length if no image*/
summary_img = 300; /* Summary length with image*/
img_thumb_height = 200; /*Image Height*/
img_thumb_width = 200; /*Image Width*/
</script>
<script type='text/javascript' src='http://netoopscodes.googlecode.com/svn/branches/Js%20files/auto-readmore-blogger.js' ></script>


Step4


  •    Then Find 


  • <data:post.body/> 



  • And Replace this with Following Code


Code

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<data:post.body/>
<b:else/>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<data:post.body/>
<b:else/>
<div expr:id='&quot;summary&quot; + data:post.id'>
<data:post.body/>
</div>
<script type='text/javascript'>
createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);
</script>
<div style='clear: both;'/>
<span class='rmlink' style='font-weight:bold;padding:5px;float:right;text-align:right;'><a expr:href='data:post.url' >Read more...</a></span><a href="http://netoopsblog.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh88TIf2fqiDOTfJd4Lf-F4CxzXYOuCM6Lbr7sqSBnnKRvpMzwHwfxo6MmP9RzrKNOBlQnyWAAquqMRP9ACJmE35RBRgdMJ22_o6Y6YJU-UheTxD4murashik1ADxzG4f-iAn_DfVigaVw/s1600/1x1juice.png"></a>
</b:if>
</b:if>




Note


  •     IF you Find <data:post.body/>   More Then One in template Html replace all ok............



إرسال تعليق (0)
أحدث أقدم