Updates & Subcribe : premium wordpress theme for profesional wordpress blog profesional design wordpress theme for profesional wordpress blog premium wordpress theme with profesional design layout blog premium wordpress template premium wordpress theme
Lifetime Support & Updates. 70+ WordPress Themes. Buy 1 and Get 2 FREE or Buy 1 Get 3 FREE WordPress Themes Advertise Space for Text Ad. Max. 120 characters only $15/2 Months Great price & full support. Unlimited access 40+ elegan & profesional WordPress Themes only $0.79/Theme
16/01/2010

Hack Meta Tag Every Posts for Blogger

Advertisement
Meta tag is important for blog. Blogger does not like WordPress which have plug-in All In One SEO for meta tag in every posts. How to hack meta tag code for every post in Blogger?? You can use this below code.

1. Backup your template

2. Find this code <head>

3. Replace with this code below

<!--::::::::::: 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/Archive Page -->
<b:if cond='data:blog.pageType != &quot;index&quot;'>
<title><data:blog.pageName/></title>
<meta name='description' expr:content='data:blog.pageName' />
<!-- Index Page -->
<b:else/>
<title><data:blog.pageTitle/></title>
<meta name='keywords' content='YOUR-KEYWORDS-BLOG-HERE' />
<meta name='description' content='YOUR-DESCRIPTION-BLOG-HERE' />
</b:if>
<!--::::::::::: Block2 END -->

4. Save


How the result for this trick in post page??

If you open one of your blog post, you can see like image below (i use my other blog to try this code).

meta tag blogger
See the underline (click image to enlarge)

You can find meta tag configurations like this :

Meta Tag Keyword is your Category/Label Posts and

Meta Tag description is your Title Post.


Thanks to Mike More for this tricks.
Advertisement
WordPress Theme to Blog is a gallery of premium Wordpress themes with profesional design to help you find a wordpress theme to make your WordPress blog look great

Updates via E-Mail

Labels:

4 comments:

Best Blogging Hacks said...

Meta tag sections must be in <Head> Section. and by this hack you can't able to take benefit of Meta keywords tag, because label is a widget not variable in blogger templates. i think you are clear about what i am suggesting. Visit this link: Custom Meta Tags for Each Blogger Posts

ireng_ajah said...

@Best Blogging Hacks : Thankyou for your share

viagra pharmacy said...

great site, keep it up the good work.

Amati Tiru Modifikasi said...

Terima kasih. Saya sudah menggunakan petunjuk anda.

Post a Comment