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
2 Widgets
3 Taxonomies (Post Categories)
Calendar
Plugin Options
This plugin functions like typical blog postings, but with only a few additional features.
[wpt-class-calendar]
short tag into a pageSelect a page to display the calendar on within the plugin’s settings OR copy/paste [wpt-class-calendar]
to your calendar page.
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') ... ) )
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') )