4 Mei 2010

Beranda » » Meta Tag + Judul Postingan Otomatis
Ditulis oleh Kian pada 14:22 | 4 Mei 2010

Oke pada kali ini saya akan mempostingkan kode meta tag + judul postingan otomatis. Lah Gimana maksudnya,?? Mau tau,,?? Langsung aja praktek.

- Pertama masuk ke Blog kamu
- Lalu klik tab Layout atau Tata Letak, kemudian klik Edit HTML
- Kemudian cari kode <head> . Kalau sudah ketemu, hapus kode tersebut kemudian ganti dengan kode dibawah ini.


<!--::::::::::: Block1: Output post meta keywords -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<b:section id='meta1' showaddelement='no'>
<!-- widget must be a of Type = 'blog' to have posts data exposed, and must have a unique id -->
<!-- Empty Includables(functions) to output nothing, You must keep them ): -->
<b:widget id='Blog2' locked='no' type='Blog'>
<b:includable id='nextprev'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='post' var='post' />
<b:includable id='status-message'/>
<b:includable id='comment-form' var='post'/>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='feedLinks'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='comments' var='post'/>
<b:includable id='main' var='top'><!-- Main Function of Any widget comes with ID 'main' -->
<!-- Loop Page Posts (only 1 in a post page )-->
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.labels'>
<!-- If the post has labels, make Meta keywords by looping lables -->
&lt;meta name=&quot;keywords&quot; content=&quot;<b:loop values='data:post.labels' var='label'><data:label.name/><b:if cond='data:label.isLast != &quot;true&quot;'>,</b:if></b:loop>&quot; /&gt;
</b:if>
</b:loop>
</b:includable>
</b:widget>
</b:section>
</b:if>
<!--::::::::::: Block1 END -->

<head> <!-- THE HEAD -->

<!-- must include(called) here to output other head sub elements -->
<b:include data='blog' name='all-head-content'/>

<!--::::::::::: Block2: Output Index Title,keywords,decription and Post Title,description -->
<!-- Post Page -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<title><data:blog.pageName/></title>
<meta name='description' expr:content='data:blog.pageName' />
<!-- Index Page -->
<b:else/>
<title><data:blog.title/></title>
<meta name='keywords' content='Isi dengan keyword blog anda' />
<meta name='description' content='Isi dengan deskripsi blog anda' />
</b:if>
<!--::::::::::: Block2 END -->


Dan simpan.

5 Komentar:

  1. di coba dulu deh... btw suka doraemon yach?? kalo aku suka nobitanya... he he

    BalasHapus
  2. fungsinya untuk apa nih om? (makLum nih yg nanya bLogger msh katro), hehehe.
    mhn check pd postingan sebeLumnya (edit tempLate).

    BalasHapus
  3. Fungsinya,,???
    Coba ajah ntar juga tau,, hehehe

    BalasHapus
  4. udah ane coba dan hasilnya mantep bikin SEO naik hehe makin mudah masuk pejwan :D

    BalasHapus

Komentar dengan link aktif akan dihapus otomatis..

Profil Admin

Profil Admin

"I can't make something, but i can do editing". Lihat Profil Lengkap

Formulir Kontak

Nama

Email *

Pesan *