WordPress Plugin – 自動產生使用中的外掛清單

最近裝了一個名為 Viper’s Plugins UsedWordPress 外掛,這個外掛可以自動產生使用中的 Plugin 清單,搭配 Exec-PHP 使用更可把 Plugin 清單給黏在文章上,是個不可多得的好物。有了這玩意兒,以後新增或移除外掛就再也不需要同時更新類似「目前使用的 WordPress Plugin 清單」這樣的文章囉!開心!

不過,當初安裝這外掛花了我好多時間,無法顯示網頁為了造福廣大的 WordPress 使用者,在此跟各位報告一下如何使用 Viper’s Plugins Used 搭配 Exec-PHP 將 Plugin 清單給黏在文章裡,有興趣的朋友參考看看。

 安裝步驟:
 1. 複製 exec-php 資料匣至路徑 wp-content/plugins 下。
 2. 前往 WordPress Plugin 管理頁面啟用 Exec-PHP。
 3. 複製 vipers_pluginsused.php 檔案至路徑 wp-content/plugins 下。
 4. 前往 WordPress Plugin 管理頁面啟用 Viper’s Plugins Used。
 5. 在欲顯示 Plugin 清單的文章填入以下的語法:

<phpcode>
<?php $viperspluginsused = new viperspluginsused(); ?>
<?php $viperspluginsused->output_table('id="pluginstable"', TRUE, FALSE, FALSE); ?>
</phpcode>

<phpcode></phpcode> 裡面包覆的程式碼是 Viper’s Plugins Used 外掛用來顯示 Plugin 清單的語法,而 <phpcode></phpcode> 本身則是 Exec-PHP 外掛用來宣告文章中何處開始、何處結束 PHP 程式的語法,這樣大家知道了嗎?

Related Posts with Thumbnails
相關文章

Tags:

This entry was posted on Friday, November 9th, 2007 at 1:10 am and is filed under Wordpress Plugin. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to WordPress Plugin – 自動產生使用中的外掛清單

  1. Comment by 白色飛魚

    不知怎的,現在看到無法顯示網頁還可以顯示網頁,就覺得好幸福。 :cool:

  2. Pingback: 用Tag寫人生 - Tag Life » WordPress自動產生正在使用外掛列表:Viper’s Plugins Used + Exec-PHP

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>