ThaiSEOBoard.com

พัฒนาเว็บไซต์ => CMS & Free Script => หัวข้อเริ่มโดย: asshur ใน 23 ตุลาคม 2007, 22:59:56

ชื่อเรื่อง: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: asshur ใน 23 ตุลาคม 2007, 22:59:56
ไม่รู้ว่ามีใครโพสท์ยังนะ

วิธีเปลี่ยน title ที่แสดงผลเวลาคน search กับ se
ให้ขึ้นด้วยหัวข้อแต่ละโพสท์แทนที่จะเป็นชื่อบล็อก
ด้วย......................

เทมเพลต > แก้ไข HTML  > ขยายแม่แบบเครื่องมือ
ใน <head>

หา <title><data:blog.pageTitle/></title>

</head>

แทนที่ด้วย

<!-- Start Simple Tricks: Changing the Blogger Title Tag  -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='nextprev'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='comments' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> ~ <data:blog.title/></title></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End Simple Tricks: Changing the Blogger Title Tag -->
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: nuke ใน 23 ตุลาคม 2007, 23:21:20
อ้างถึงจาก: asshur ใน 23 ตุลาคม 2007, 22:59:56
ไม่รู้ว่ามีใครโพสท์ยังนะ

วิธีเปลี่ยน title ที่แสดงผลเวลาคน search กับ se
ให้ขึ้นด้วยหัวข้อแต่ละโพสท์แทนที่จะเป็นชื่อบล็อก
ด้วย......................

เทมเพลต > แก้ไข HTML  > ขยายแม่แบบเครื่องมือ
ใน <head>

หา <title><data:blog.pageTitle/></title>

</head>

แทนที่ด้วย

<!-- Start Simple Tricks: Changing the Blogger Title Tag  -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='nextprev'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='comments' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> ~ <data:blog.title/></title></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End Simple Tricks: Changing the Blogger Title Tag -->

มันเหมือนกับอันนี้รึป่าวครับ

STEP 3: ภายในโค้ด ให้มองหาบรรทัดนี้ครับ

<title><data:blog.pageTitle/></title>

แล้วนำโค้ดด้านล่างนี้ไปวางทับเลยครับ

<!-- Change Blogger Title Tag by e4share.com -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='comments' var='post'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> - <data:blog.title/></title></b:includable>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='nextprev'/>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title>
</b:if>
<!-- End Change Blogger Title Tag by e4share.com -->

แล้วกด Save เท่านี้ก็เป็นอันเสร็จแล้วครับ ง่ายมากๆเลย

เท่านี้เพื่อนๆก็จะได้ Title bar ของ Blogger ที่จะนำหน้าด้วยชื่อของโพส ตามด้วยชื่อของ blog ตรงตามหลักของ SEO แล้วล่ะครับ

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

จาก http://www.e4share.com/blogger-seo-title/#comment-346
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: ColdMoney ใน 23 ตุลาคม 2007, 23:44:10
ใจจ้า  :-*
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: CATERPILLAR ใน 24 ตุลาคม 2007, 12:48:05
แล้วพอจะมีวิธีการเปลี่ยนพื้นหลัง ของ blog มั้ยครับ(พื้นหลังที่ทำมาเองหน่ะครับ ไม่อยากใช้ของเค้ามัน 12) ;)
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: loco ใน 24 ตุลาคม 2007, 13:09:59
โอ้ ขอบคุณมากครับ กำลังจะตั้งกระทู้ถามเรื่องนี้พอดีเลยน่ะเนี้ย  :-*
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: Gu[PoW-HoD] ใน 17 พฤศจิกายน 2007, 12:34:43
ขอบคุณครับ แจ่มๆ :'(
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: saratoho ใน 17 พฤศจิกายน 2007, 13:03:03
 :-[  โอ้ววดีมากๆๆเลย ขอบคุณครับ
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: azxc ใน 17 พฤศจิกายน 2007, 14:03:35
หมายถึงว่าต้องลบ <title><data:blog.pageTitle/></title>

</head> ตัวนี้ออกแล้วใส่ที่ให้มาแทนใช่หรือเปล่าครับ

ช่วยอธิบายเพิ่มอีกนิดครับ มือใหม่จริงๆ

ขอบคุณมากครับ
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: Gu[PoW-HoD] ใน 17 พฤศจิกายน 2007, 14:50:57
อ้างถึงจาก: azxc ใน 17 พฤศจิกายน 2007, 14:03:35
หมายถึงว่าต้องลบ <title><data:blog.pageTitle/></title>

</head> ตัวนี้ออกแล้วใส่ที่ให้มาแทนใช่หรือเปล่าครับ

ช่วยอธิบายเพิ่มอีกนิดครับ มือใหม่จริงๆ

ขอบคุณมากครับ

ของผมทำอย่างนี้นะ
ใน <head>

หา <title><data:blog.pageTitle/></title>  <<<< ทับอันนี้เยยครับ

</head>

แทนที่ด้วย

<!-- Start Simple Tricks: Changing the Blogger Title Tag  -->
<b:if cond='data:blog.pageType == "item"'>
<b:section id='titleTag'>
<b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='nextprev'/>
<b:includable id='backlinks' var='post'/>
<b:includable id='post' var='post'><data:post.title/></b:includable>
<b:includable id='commentDeleteIcon' var='comment'/>
<b:includable id='status-message'/>
<b:includable id='feedLinks'/>
<b:includable id='backlinkDeleteIcon' var='backlink'/>
<b:includable id='feedLinksBody' var='links'/>
<b:includable id='postQuickEdit' var='post'/>
<b:includable id='comments' var='post'/>
<b:includable id='main' var='top'><title><b:loop values='data:posts' var='post'><b:include data='post' name='post'/></b:loop> ~ <data:blog.title/></title></b:includable>
</b:widget>
</b:section>
<b:else/>
<title><data:blog.pageTitle/></title> <<<<<นี้ไงครับ มันมีอยู่แว้ว
</b:if>
<!-- End Simple Tricks: Changing the Blogger Title Tag -->

ผมก็มือใหม่ ลองผิดลองถูกไปเรื่อย ละครับ ส่วนมาก จะอย่างแรกมาก กว่า ;D
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: azxc ใน 17 พฤศจิกายน 2007, 16:28:20
ขอบคุณมากครับ
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: janistar ใน 17 พฤศจิกายน 2007, 16:45:28
มะกี๊ลองแก้ตาม ไม่รุทำอีท่าไหน มีบางส่วนที่เซทไว้มันหายไป

เด๋วว่างๆ ค่อยเพิ่มใหม่ วันนี้ขี้เกียจมั่กๆ
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: stayjune ใน 17 พฤศจิกายน 2007, 18:33:14
อ้างถึงจาก: ardsamart ใน 24 ตุลาคม 2007, 12:48:05
แล้วพอจะมีวิธีการเปลี่ยนพื้นหลัง ของ blog มั้ยครับ(พื้นหลังที่ทำมาเองหน่ะครับ ไม่อยากใช้ของเค้ามัน 12) ;)

http://www.e4share.com/blog-background/  ::)
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: login ใน 28 มกราคม 2008, 07:16:59
ขอโทดจิงๆนะคับ ขอขุดนิดนึงนะคับ คือพอดีผมเพิ่งเจอกระทู้นี้   :P  คือผมลองทำกับบล็อกของผมแล้ว มันขึ้นประมาณว่า "ขออภัยไม่สามารถทำตามคำขอของคุณได้" ผมทำโดยการลบ Tag title><data:blog.pageTitle/></title>  ออก แล้วเอา โค้ดที่ให้ไว้ไปวางไว้แทน ซึ่งมันจะสุดที่บบรทัดนี้   <!-- End Change Blogger Title Tag by e4share.com -->  และก็จะต่อด้วยโค้ดเดิมของ template
ไม่ทราบว่าผมทำถูกรึป่าวคับ  และเราจะตรวจสอบได้ยังไงว่าเราทำถูกแล้วอ่ะคับ  ขอบคุณคับ
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: login ใน 29 มกราคม 2008, 00:57:23
ยังคงรอคอยคำตอบต่อไป  :-\
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: Blogger Jr. ใน 07 พฤษภาคม 2008, 20:58:57
ขอขุดขึ้นมาถามนิดครับ ของผมเป็นแบบนี้นะครับ
<head>
    <b:include data='blog' name='all-head-content'/>
    <title><data:blog.pageTitle/></title>    <<<<< แล้วเอา โค้ดที่ให้ไว้ไปวางไว้แทน
    <b:skin><![CDATA[

ผล :

We were unable to save your template

Please correct the error below, and submit your template again.
          Your template is invalid because the tag 'b:section' appears inside of the tag 'head'.



ผมทำผิดตรงไหนอะครับ หรือว่ามันใช้ไม่ได้แล้ว
ชื่อเรื่อง: Re: เปลี่ยน title เวลา search ของ Blogspot
โพสต์โดย: satansatan ใน 09 พฤษภาคม 2008, 04:08:25
มันทำไม่ได้แล้วครับ