|
IT News > トピックス > WordPress > プラグイン > runPHP(記事内でphpを使えるようにする) 記事の中で php を使うには、 ダウンロードhttp://www.nosq.com/blog/runphp/ ユーザーマニュアルhttp://www.nosq.com/blog/runphp/runphp-manual/ Download the latest version Unzip the contents (the entire runPHP directory) into /wp-content/plugins/ In Options > Writing Turn off “WordPress should correct invalidly nested XHTML automatically” Visit the “Options > runPHP” page to set who can use the plugin (default is Administrators) Create a post and check the “run PHP code?” checkbox to enable PHP code to be dropped in to your post - this must be set on a per-post basis. I10n support is available only if WP_LANG is defined in your wp-config.php file. 設定アップがおわったら、管理画面でプラグインを有効化します。 管理画面 - オプション - 投稿設定で「ビジュアルリッチエディタを使用する」「不正な XHTML 構文を自動的に修正する」のチェックを外します。 またビジュアルリッチエディタはユーザー - プロフィールと個人設定の「記事投稿時にビジュアルリッチエディタを使用する」のチェックも外さないと無効になりません。 |