Tertarik…? Berikut cara2 ngebuatnya:
Masuk ke Template ->Edit HTML, trus klik Expand Widget Templates checkbox.
Cari baris , kemudian letakkan kode2 berikut di bawah
<b:includable id='main' var='top'> :
<b:includable id='breadcrumbs' var='post'>
<!-- Breadcrumbs hack. By Hoctro 9/11/2006 http://hoctro.blogspot.com -->
<b:if cond='data:blog.pageType == "item"'>
<p class='breadcrumbs'>
<span class='post-labels'>
<b:if cond='data:post.labels'>
You are here:
<a expr:href='data:blog.homepageUrl' rel='tag'>Home</a> >
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'>
<a expr:href='data:label.url' rel='tag'> <data:label.name/></a>
</b:if>
</b:loop>
<b:if cond='data:post.title'>
> <b><data:post.title/></b>
</b:if>
</b:if>
</span>
</p>
</b:if>
<!-- End of Breadcrums Hack -->
</b:includable>
Terus tambahin kode ini:
<b:include data='post' name='breadcrumbs'/>
tepat di atas baris <b:if cond='data:post.dateHeader'>
Langkah berikutnya tinggal tambahin kode CSS ini :
.breadcrumbs {
border-bottom:1px dotted #000;
margin:2em 0 0.5em;
padding:0 0 0.5em;
}
Save template trus slese deh…..Moga bermanfaat aja :)
credit : Hoctro's Place
0 Response to 'Nambahin Breadcrumb ke Artikel'
Post a Comment