大多数Blogger用户通常有1个问题,我的文章太长,使页面向下滚动,需要很长的路,我可以把“阅读”的功能在每个我的文章?

答案是肯定的。 虽然Blogger的没有这个功能,但仍然可以有此功能。 你需要的是只是把一些代码到您的范本。

1 )移至布局> “编辑的HTML 。 如果你害怕让错误的,备份您的范本第一。 点击“ 下载完整模板 ”来备份您的范本。

2 )在“修改模板 ” ,剔“ 展开小装置范本 ” 。

3 )找到<data:post.body/>

4 )将此代码放入上方的<data:post.body/>

<b:if cond='data:blog.pageType == item '>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>
'>
<style>.fullpost{display:inline;}</style>
<p><data:post.body/></p>
<b:else/>
<style>.fullpost{display:none;}</style>

5 )把下面的代码第二的<data:post.body/>

<b:if cond='data:blog.pageType != "item"'><br />
<a expr:href='data:post.url'>Read more...</a>
</b:if>
</b:if>

How to add read more function in Blogger

6 )和“保存模板” 。

7 )转到设置格式。 向下滚动,以“ 邮政模板” 将此代码粘贴到外地方块。

<span class="fullpost">
</span>

How to add read more function in Blogger

8 ) “保存设置

9 )张贴> “创建。 点击修改”的观点。 你会看到代码<span class="fullpost"></span>在后区。 把您想要的内容阅读后,阅读更多之间<span class="fullpost"> 的内容后,开始阅读。 </span>

How to add read more function in Blogger

10 )发布后看到的结果。

如果有些文章你不需要阅读,公正码删除<span class="fullpost"></span>在后区。

享受您的Blog 。

How to add read more function in Blogger PBanner1_full

书签和共享:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Live
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • BlinkList
  • Furl
  • Netvouz
  • NewsVine
  • Propeller
  • Slashdot
  • Spurl
  • SphereIt