04-05-2015
Tạo một thư mục description và keyword . Tạo một tập tin trong mỗi thư mục.
Các tập tin đặt tên quy định phù hợp với giá trị của __xtblog_entry bài đăng trên blog. Hãy xem bài url này tutorlewathp.xtgem.com/p/__xtblog_entry/10271059-mengatur-meta-description-dan-keyword-blog-xtgem , giá trị là 10271059 sau đó chúng tôi tạo ra một tập tin với tên 10271059 trong mỗi thư mục.
Nội dung của tập tin với mô tả và từ khóa phù hợp với nội dung của bài viết.
Sau đó mở trang blog 'mở thông qua trình soạn thảo văn bản. Sau đó nhập mã sau vào giữa thẻ head
<!--parser:xtscript-->
get __xtblog_entry
var $incd = include file="/description/$__xtblog_entry"
var $inck = include file="/keywords/$__xtblog_entry"
if $__xtblog_entry
var $description = <meta name="description" content="<xt:$incd>" />
var $keywords = <meta name="keywords" content="<xt:$inck>" />
endif
print {{$description
$keywords}}
<!--/parser:xtscript-->
code by indonesia
04-05-2015
04-05-2015