內容簡介
PHPInclusion WordPress 外掛允許管理員將一個 PHP 檔案的內容以 include()、require()、require_once() 和 include_once() 函式插入到文章/頁面中。
使用方法:
將以下程式碼複製並貼到您的文章或頁面:
[include: 路徑至您的 PHP 檔案]
[include_once: 路徑至您的 PHP 檔案]
[require: 路徑至您的 PHP 檔案]
[require_once: 路徑至您的 PHP 檔案]
範例:
[include: MyPhpFile.php]
[include: MyDir/MyPhpFile.php]
更多關於 PHPInclusion 外掛的資訊:
http://www.royakhosravi.com/?p=63
外掛標籤
開發者團隊
原文外掛簡介
PHPInclusion WordPress plugin allows you (admin only) to insert the content of a php file into your post/page with include(), require() , require_once() and include_once() functions.
Usage :
Copy & Past this code into your post or page :
[include:Path to your php file]
[include_once:Path to your php file]
[require:Path to your php file]
[require_once:Path to your php file]
Examples:
[include:MyPhpFile.php]
[include:MyDir/MyPhpFile.php]
More About PHPInclusion Plugin :
http://www.royakhosravi.com/?p=63
