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