跳到内容

WP Teacher

v1.1.6

fredlawl · 2012年10月21日 上架

WP Teacher is a plugin that allows teachers to integrate course content into their personal website to enhance student learning.

正在使用
10+
评分
3.0 / 5
累计下载
6,348
最近更新
2013年4月23日
2 条评价需要 WordPress 3.0.1+已测试到 3.4.2

贡献者

截图

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 3 shows the theme options for the calendar
Screenshot 3 shows the theme options for the calendar

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
    • Set a title
    • Set a course category to display (or leave default)
    • Set a type to display (or leave default)
  8. Create a Calendar page
  9. Set the display page for the calendar OR Add the [wpt-class-calendar] short tag into a page
  10. 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') )

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums