Ikhsanudin Ikhsanudin Author
Title: cara bikin breadcrumbs di blogspot
Author: Ikhsanudin
Rating 5 of 5 Des:
cara bikin breadcrumbs di blogspot, berikut cara singkat tentang cara bikin breadcrumbs di blogspot. 1. Login ke blogspot / blogger.com 2...
cara bikin breadcrumbs di blogspot, berikut cara singkat tentang cara bikin breadcrumbs di blogspot.

1. Login ke blogspot / blogger.com
2. Template > Edit html dan centang Expant Templat Widget
3. Cari ]]></b:skin>, copy dan paste kode berikut diatas ]]></b:skin>

/* Breadcrumbs
----------------------------------------------- */
.breadcrumbs { background:#fff; text-align: left; padding:3px 0; margin:0 0 2px 0; font-size:13px; line-height: 1.4em; border-top:3px double #ccc; border-bottom:3px double #ccc;
}


4. Lanjutkan dengan mencari kode <b:includable id='main' var='top'> dan copy dan paste kode berikut diatasnya

<b:includable id='breadcrumb' var='posts'><b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<div class='breadcrumbs'><span><a expr:href='data:blog.homepageUrl' rel='tag'>Home</a></span> &#187; <span><data:blog.pageName/></span></div>
<b:else/>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<!-- breadcrumb for the post page -->
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.labels'>
<div class='breadcrumbs' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span typeof='v:Breadcrumb'><a expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'>Home</a></span>
<b:loop values='data:post.labels' var='label'>
&#187; <span typeof='v:Breadcrumb'><a expr:href='data:label.url' property='v:title' rel='v:url'><data:label.name/></a></span>
</b:loop>
&#187; <span><data:post.title/></span>
</div>
<b:else/>
<div class='breadcrumbs'><span><a expr:href='data:blog.homepageUrl' rel='tag'>Home</a></span> &#187; <span>Unlabelled</span> &#187; <span><data:post.title/></span></div>
</b:if>
</b:loop>
<b:else/>
<b:if cond='data:blog.pageType == &quot;archive&quot;'>
<!-- breadcrumb for the label archive page and search pages.. -->
<div class='breadcrumbs'>
<span><a expr:href='data:blog.homepageUrl'>Home</a></span> &#187; <span>Archives for <data:blog.pageName/></span>
</div>
<b:else/>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<div class='breadcrumbs'>
<b:if cond='data:blog.pageName == &quot;&quot;'>
<span><a expr:href='data:blog.homepageUrl'>Home</a></span> &#187; <span>All posts</span>
<b:else/>
<span><a expr:href='data:blog.homepageUrl'>Home</a></span> &#187; <span>Posts filed under <data:blog.pageName/></span>
</b:if>
</div>
</b:if>
</b:if>
</b:if>
</b:if>
</b:if>
</b:includable>



5. cari lagi kode <b:include data='top' name='status-message'/>, copy dan paste kode berikut diatasnya:
<b:include data='posts' name='breadcrumb'/>

6. Simpan template, silahkan lihat hasil bikin breadcrumbs di blogspot yang telah kita kerjakan


About Author

Advertisement

Post a Comment

Yang sudah mampir wajib tinggalkan komentar

 
Top