Hasil riset yang saya lakukan dari sekian banyak pengguna blogger, dari mulai indonesia sampai ke luar negri, banyak sekali blogger yang menggunakan template median UI.
Apa itu Related Posts?
Langkah Untuk Memulai
- 1. Buka Blogger .
- 2. Tab halaman pilihan.
- 3. Pilih tema.
- 4. Edit HTML.
- 5. Ubah nilai.
- 6. Simpan tema “Selesai”.
Kode Script Related Posts
<!–[ Related post ]–>
<b:includable id=’post-related’>
<div class=’rPst’ id=’rPst’>
<script>
var labelArray = [<b:if cond=’data:post.labels’><b:loop values=’data:post.labels’ var=’label’>"<data:label.name/>"<b:if cond=’data:label.isLast != "true"’>,</b:if></b:loop></b:if>];
var relatedPostConfig = {
homePage: "<data:blog.homepageUrl.canonical/>",// Replace <data:messages.youMayLikeThesePosts/> to change Related Posts title
widgetTitle: "<h2 class=’title’><b:if cond=’data:post.labels none (label => label.name in [ "Product" ])’><data:messages.youMayLikeThesePosts/><b:else/>Related products!</b:if></h2>",numPosts: 6,
summaryLength: 180,
titleLength:"auto",
thumbnailSize: 300,
noImage: "data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",
containerId: "rPst",
newTabLink: false,
moreText: "Read more",// Change the related post style, there are 4 styles available widgetStyle: 2, callBack:function(){}
}
</script>{codeBox}