Menyembunyikan Semua Posting Blog Terbaru di Halaman Depan

Menyembunyikan Semua Posting Blog Terbaru di Halaman Depan. Hide blog posts from blogger home page. Diganti widget atau apalah apalah.

Kode Blog Posts halaman depan:

<b:widget id="Blog1" locked="false" title="Blog Posts" type="Blog">

 So to remove the blog posts from the home page alone.
  1. First go to Dashborad => Design =>Edit HTML (Edit Template HTML)
  2. The style sheet declarations end after the "]]></b:skin>" . So just search for the "]]></b:skin>" and add the code that comes after the red color ,as shown:
]]></b:skin>
<b:if cond="data:blog.url == data:blog.homepageUrl">
<style type="text/css">
.post, #blog-pager {display:none;}
</style>
</b:if>
<b:if cond="data:blog.url == data:blog.homepageUrl">
<style type="text/css">
body#layout .sidebar {display:inline;margin-top:200px;}
</style>
</b:if>




Jika mau menghapus / menyembunyikan sidebarnya juga, ini kodenya:


]]></b:skin>
<b:if cond="data:blog.url == data:blog.homepageUrl">
<style type="text/css">
.post, .sidebar, #blog-pager {display:none;}
</style>
</b:if>
<b:if cond="data:blog.url == data:blog.homepageUrl">
<style type="text/css">
body#layout .sidebar {display:inline;margin-top:200px;}
</style>
</b:if>


SAVE!

Code Source

But, wait! This is may be better:
<b:if cond='data:blog.url != data:blog.homepageUrl'>
  <b:section class='main' id='main' showaddelement='yes'>
    <b:widget id='Blog1' locked='true' title='Posting Blog' type='Blog'/>
  </b:section>
</b:if> 

time to change
 

0 تعليقات

No Spammy Comment, Please!

إرسال تعليق

No Spammy Comment, Please!

Post a Comment (0)

أحدث أقدم