8.2 Settings Reference
Two places hold settings: the per-item fields on each course, lesson, topic, or quiz's Settings tab, and the site-wide style settings at Settings > Learndash Materials.
Per-item fields (Settings tab of a course, lesson, topic, or quiz)
Shown beneath LearnDash's materials editor while that item's Materials toggle is on.
| Field | Values | Default | Notes |
|---|---|---|---|
| Title | text | empty | Link text. |
| Source | From Media Library, External URL | From Media Library | Switches the File field between a Select button and a URL box. |
| File (Media Library) | a Media Library file | none | Chosen in the WordPress media window; filename shown next to Select. |
| File (External URL) | URL | empty | Enter the full address including https://; addresses without a scheme are prefixed with http://. |
| Link action | Download, Attachment page | Download | Media Library items only. Download links to the file; Attachment page links to its WordPress page. |
| Open in new tab | on/off | off | Adds target="_blank" to the link. |
Controls: Add item appends a row; × removes a row; drag a row to reorder; Insert shortcode adds [learndash_materials_extended] to LearnDash's materials editor once.
Site-wide style settings (Settings > Learndash Materials)
| Setting | Values | Field default | Notes |
|---|---|---|---|
| Style template + Load | Basic, Button 1, Button 2 | Basic | Fills the fields below with the preset; not itself saved. |
| List type | Link, Button | Link | Button reveals the button settings. |
| Icon position | Before, After | Before | |
| Text color | colour | #333333 | |
| Text color (hover) | colour | #000000 | Applies on hover and focus. |
| Font family | Default, Google Fonts | Default | A Google Font is loaded from Google Fonts on the front end. |
| Font size | 0 to 100 px | 16 | |
| Button fill color | colour | #545454 | Button only. |
| Button fill color (hover) | colour | #545454 | Button only. |
| Button border radius | 0 to 100 px | 4 | Button only. |
| Button border thickness | 1 to 10 px | 1 | Button only. |
| Button border color | colour | #545454 | Button only. |
| Button border color (hover) | colour | #545454 | Button only. |
Until the settings are saved for the first time, the front end uses the Basic preset values rather than the field defaults above.
Preset values
| Setting | Basic | Button 1 | Button 2 |
|---|---|---|---|
| List type | Link | Button | Button |
| Icon position | Before | Before | Before |
| Text color | #999 | #999999 | #ffffff |
| Text color (hover) | #555 | #ffffff | #ffffff |
| Button fill color | not set | transparent (rgba(153,153,153,0)) | #999999 |
| Button fill color (hover) | not set | #999999 | #777777 |
| Button border radius | not set | 100 | 100 |
| Button border thickness | not set | 1 | 1 |
| Button border color | not set | #999999 | #999999 |
| Button border color (hover) | not set | #999999 | #777777 |
Presets only set the fields listed; Load leaves the others as they are.
Where settings are stored
For developers and support: per-item materials are saved as post meta learndash_materials_extended on the course, lesson, topic, or quiz; the shortcode itself lives in LearnDash's own materials setting for that item. The style settings are one option, ldash_materials_style_data.