Skip to content

Shortcode Reference: [tpcoursedocs]

winkm89 edited this page Dec 26, 2016 · 1 revision

Description

Shows links to the course documents in a post or page.

Parameters

id

(integer) The ID of the course

link_class

(string) The name of the html class for document links, default is: linksecure.

date_format

(string) The date format. Default is d.m.Y.

show_date

(integer) Define if you want to display the date. Possible values: 1 (date is visible) or 0 (date is not visible), default is: 1.

numbered

(integer) Define if you want a numbered list of links or not. Possible values: 1 (use numbering) or 0 (don’t use numbering), default is: 0.

headline

(integer) Define if you want to display the headline „Documents“. Possible values: 1 (show the headline) or 0 (headline is not visisble), default is: 1.

Examples

Displaying links to the course documents for a course with course_id = 15:

[tpcoursedocs id="15"]

Changelog

  • Since: 5.0.0