這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Dashboard Editor

描述

This plugin allows you to add whatever you want to the WordPress dashboard through PHP and HTML even Sidebar Widgets. You can also wipe the entire dashboard or individually remove some of the more irritating sections like the Dev news, Planet WordPress and the getting started section.

In WordPress 2.5, the code is cleaner, the plugin is more responsive and you can add both “real” sidebar widgets, or add “fake” ones to match the dashboard.

螢幕截圖

  • A screenshot of an edited dashboard with widgets in 2.3.
  • My actual Dashboard in WP 2.5

安裝

Basic Installation (If you are new to WordPress you should probably use this.):

  1. Download the zip file
  2. Unzip and upload dashboard.php to your wp-content/plugins/ folder.
  3. Go to your dashboard. There will be a new sub-menu item.
  4. Select any options you want and add any PHP or HTML code that you want to the textbox.

常見問題

How do I add Widgets?

To add a sidebar widget to your dashboard (after selecting the option from the Dashboard management page) use the code:

<?php dynamic_sidebar('admin');?>

The Admin sidebar is modified and controlled the exact same way as any other sidebar.

How do I display UserOnline stats from the WP-UserOnline plugin?

If you use the WP-UserOnline plugin you can use:

My new content doesn’t show up nicely. It is pushed to the bottom.

If you find that your new content doesn’t align nicely you can add:

      <div style="float:left; width:460px;">
           //
           //Add all other content here
           //
           </div>
Can everyone see the information I add?

Yes, you can use User Roles (See WordPress Codex). Or just use:

<?php if(current_user_can('edit_users')){ ?>
// Content you don't want people to see here
<?php } ?>
What else can I add?

Any code that can be used in a WordPress Theme can be used in the dashboard.

I’m on WordPress 2.0, but none of the settings work.

Unfortunately, the only way to get the plugin to work on 2.0.x is to completely wipe the dashboard.

貢獻者及開發者

“Dashboard Editor” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Dashboard Editor 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄