Title: WP Teacher
Author: fredlawl
Published: <strong>2012 年 10 月 21 日</strong>
Last modified: 2013 年 4 月 23 日

---

搜尋外掛

![](https://ps.w.org/wp-teacher/assets/banner-772x250.jpg?rev=623246)

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

![](https://s.w.org/plugins/geopattern-icon/wp-teacher_e3e3e3.svg)

# WP Teacher

 由 [fredlawl](https://profiles.wordpress.org/fredlawl/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-teacher.1.1.6.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-teacher/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-teacher/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-teacher/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-teacher/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-teacher/)

## 外掛說明

WP Teacher is a plugin that allows teachers to use WordPress to their advantage 
by integrating course
 content into their personal website to enhance student learning.
WP Teacher is built with easy-to-use features that will make his or her WordPress
experience easier.

WP Teacher functions like typical blog postings, but it provides additional features
to maximize student learning. All the features work
 together. The plugin is maximized
for customization, which makes it perfect for multi-site WordPress installation.

**Features:**

 * 2 Post Types
    - Assignments
       * Document Uploading
       * Due Date for assignments
    - Events
       * All Day
       * Date Range
       * Time selection
 * 2 Widgets
    - Assignments List
       * Display X amount of posts
       * Choose a course category to display
       * Choose a assignment type to display
    - Events List
       * Display X amount of posts
       * Choose a course category to display (That applies to a specific course)
       * Choose a event type to display
 * 3 Taxonomies (Post Categories)
    - Course
    - Event Type
    - Assignment Type
 * Calendar
 * Plugin Options
    - Calendar view settings
    - Select Specific courses/events to display on calendar
    - Color choices for the courses taxonomy

### Basic Usage

This plugin functions like typical blog postings, but with only a few additional
features.

 1.  Install Plugin/Activate it (see above)
 2.  Create some courses
 3.  Create some assignment types
 4.  Create some event types
 5.  Add some assignments
 6.  Add some events
 7.  Add the widgets to the sidebar
 8.   * Set a title
      * Set a course category to display (or leave default)
      * Set a type to display (or leave default)
 9.  Create a Calendar page
 10. Set the display page for the calendar OR Add the `[wpt-class-calendar]` short 
     tag into a page
 11. View the results!

### Calendar Use

Select a page to display the calendar on within the plugin’s settings OR copy/paste`[
wpt-class-calendar]` to your calendar page.

### Accessing Assignment Meta Information

**To get the assignment due date:**

    ```
    $assignmentDueDate = get_post_meta($post->ID, 'wpt_assignment_dueDate', true);
    ```

**To get the assignment docs:**

    ```
    $assignmentDocs = get_post_meta($post->ID, 'wpt_assignment_docs');

    $assignmentDocs = $assignmentDocs[0];

    // return Array ( 0 => Array( 0 => Array('name', 'fileLink'), 1 => Array('name', 'fileLink') ... ) )
    ```

### Accessing Event Meta Information

**To get the event start date:**

    ```
    $eventStartDate = get_post_meta($post->ID, 'wpt_event_date', true);
    ```

**To get the all other post meta:**

    ```
    $eventMeta = get_post_meta($post->ID, 'wpt_event');

    $eventMeta = $eventMeta[0];

    // return Array ( 0 => Array('end-date', 'time', 'end-time', 'time-mark', 'end-time-mark', 'all-day') )
    ```

## 螢幕擷圖

[⌊Screenshot 1 demonstrates the meta fields for assignments⌉⌊Screenshot 1 demonstrates
the meta fields for assignments⌉[

Screenshot 1 demonstrates the meta fields for assignments

[⌊Screenshot 2 demonstrates the options for custom events⌉⌊Screenshot 2 demonstrates
the options for custom events⌉[

Screenshot 2 demonstrates the options for custom events

[⌊Screenshot 3 shows the theme options for the calendar⌉⌊Screenshot 3 shows the 
theme options for the calendar⌉[

Screenshot 3 shows the theme options for the calendar

## 安裝方式

**To Automatically Install:**

 1.  Log into the backend of WordPress
 2.  Click ‘Plugins’
 3.  Click ‘Add New’
 4.  Type in ‘WP Teacher’
 5.  Click ‘Search Plugins’
 6.  Find WP Teacher
 7.  Click ‘Install Now’
 8.  Follow on-screen instructions
 9.  Click ‘Activate’

**To Manually Install:**

 1. Download Project
 2. FTP project folder into `{your-root}/wp-content/plugins/`
 3. Log into the backend of WordPress
 4. Click on ‘Plugins’
 5. Click ‘Install’
 6. Click ‘Activate’

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈WP Teacher〉的開發相關工作。

參與者

 *   [ fredlawl ](https://profiles.wordpress.org/fredlawl/)
 *   [ Bryse ](https://profiles.wordpress.org/brysem/)

[將〈WP Teacher〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-teacher)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-teacher/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-teacher/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-teacher/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-teacher/)。

## 變更記錄

#### 1.1.6

 * [Subversion] Attempt to finally have the files updated in v1.1.4

#### 1.1.5

 * [Subversion] Attempted to add the updated files, it failed.

#### 1.1.4

 * [Front End] [Bug] Updated FullCalendar to work with the new jQuery.

#### 1.1.3

 * [Backend] [Added] New widget options to the ‘Events’ widget to allow more control
   for displaying events. (Suggested by llester)
 * [Front-End] [Bug] Fixed an issue where multiple instances of assignment or events
   widgets would not display in sidebar

#### 1.1.2

 * Added a new developer, Brysem
 * [Backend] [Bug] Fixed an issue that if a course slug was changed, an error would
   appear on the options page.
 * [Backend] [Removed] Removed the ‘All’ Option from the ‘Calendar Modes’ select
 * [Backend] [Bug] Set the default title to the events widget to ‘Events’ (was ‘
   Assignments’)
 * [Backend] [Bug] Fixed events and assignments widget to show all types regardless
   of being used or not
 * [Backend] [Bug] Fixed events and assignments widget to allow to select types 
   and still have the widget display
 * [Backend] [Bug] Fixed the events list to display the event types

#### 1.1.1

 * [Backend] [Added] A checkbox to show/hide holidays on the calendar. (Suggested
   by kennibc)

#### 1.1.0

 * [Backend] [Added] Redesign of the plugin settings page.
 * [Backend] [Added] Additional calendar settings to allow more customization.
 * [Backend] [Added] Added a dropdown to select a calendar page, `[wpt-class-calendar]`
   short-code is now optional to use to display the calendar.
 * [Backend] [Bug] Fixed an issue where the whole plugin was completely dependent
   on taxonomies being set.
 * [Backend] [Bug] Fixed installation bugs (that were caused by improper error handling)
 * [Backend] [Bug] Fixed all calendar settings bugs
 * [Backend] [Bug] Fixed the documents error for the assignments meta
 * [Backend] [Bug] Fixed the event’s all-day, and end date errors for the events
   meta
 * [Front-End] [Bug] Fixed a multiple-day bug that caused an event to skip a day

#### 1.0.1

 * [Backend] Assignment and Event posts list columns are now filled out with the
   appropriate information.
 * [Backend] Added a new column `Due Date` on the Assignments list.
 * [Backend] Added two columns `Start Date` and `End Date` on the Events list.

#### 1.0.0

 * Launch

## 中繼資料

 *  版本 **1.1.6**
 *  最後更新 **13 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.4.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-teacher/)
 * 標籤:
 * [class](https://tw.wordpress.org/plugins/tags/class/)[classroom](https://tw.wordpress.org/plugins/tags/classroom/)
   [Teacher](https://tw.wordpress.org/plugins/tags/teacher/)[teaching](https://tw.wordpress.org/plugins/tags/teaching/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-teacher/advanced/)

## 評分

 3 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-teacher/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-teacher/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-teacher/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-teacher/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-teacher/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-teacher/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-teacher/reviews/)

## 參與者

 *   [ fredlawl ](https://profiles.wordpress.org/fredlawl/)
 *   [ Bryse ](https://profiles.wordpress.org/brysem/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-teacher/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EMWA7249JZVEG&lc=US&item_name=FredLawl%20Development&item_number=fredlawl%2ddevelopment&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted)