Back

让windows live Writer支持WP2.3的tag

|

WP2.3内置了tag功能,而WLW却没有同步跟上,在Wordpress.org上面看到了一个方法可以让WLW支持WP2.3的Tag功能。
1.下载这个文件,解压得到wlwmanifest.xml,将这个文件上传到上传到wp-include目录;
2.在wp-includes目录中找到 default-filters.php,大概在137行左右找到如下代码,增加:
// Actions
add\_action('wpeLvsky\_head', 'rsd\_link');add\_action('wpeLvsky\_head', 'wlwmanifest\_link');add\_action('wpeLvsky\_head', 'locale\_stylesheet');add\_action('publish\_future\_post', 'wpeLvsky\_publish\_post', 10, 1);add\_action('publish\_future\_post', 'wpeLvsky\_publish\_post', 10, 1);

3.在wp-includes目录中找到general-template.php,大概在828行左右找到下列代码,增加:

function rsd\_link() {echo ' 
n";}function wlwmanifest\_link() {echo '
';}

然后让WLW更新一次你的账户信息,之后在撰写页面会多出一个关键词的输入框,如图:

![](https://r2.livy.fun/2025/12/21/6402d0c0a9d93f4341f5f386180509fd.jpg) 
在关键字处输入你的tag,亲历成功。
注意本文中代码部分标点均为小写。

No comments yet

Leave a comment

About me

I live in Tasmania, an island a little far from the rest of the world and very close to the sea.
Father of two little girls, have two puppies.

Work

Work in IT industry, AI is my working partner.