Wednesday, December 9, 2009

inline-javascript 0.5

Author: Volcano

Plugin that insert inline javascript in Posts/Page

Installation:

中文版本:

解压

复制inline-js.php到wp-contents/plugin目录并激活插件.

设置

在设置 / 撰写中关闭这个选项”WordPress 应当自动修正无效的 XHTML 嵌套”(‘WordPress should correct invalidly nested XHTML automatically)

在用户 / 您的个人资料中关闭Use the visual editor when writing

给你的帐号添加 ‘unfiltered_html’ 权限. 可以通过安装role-manager插件来搞定。

在写博客的时候使用[inline],[/inline]包住javascript,并发表

English version:

Unzip

Copy inline-js.php to direcotry wp-contents/plugin and activate the plugin.

Setup

Disable tag balancing ‘WordPress should correct invalidly nested XHTML automatically’ through the ‘Options / Write’ menu in WordPress

Disable the WYSIWYG rich editor in the user’s settings through the ‘Users / Your Profile’ menu

Assign the ‘unfiltered_html’ capability to the user. Assigning capabilities to roles or users is out of the scope of this plugin. Because WordPress has no built-in configuration menu in the admin menu to assign roles/capabilities, you need to install the role/capability manager plugins role-manager.

Use [inline] and [/inline] tag around the javascript,and post it

faq:

nothing yet

inline-javascript 0.5

[Via http://wordpress222.wordpress.com]

No comments:

Post a Comment