Resume Button Shortcode

Filters ::: filter_resumebutton
Maintained by Rudraksh Batra
Adds a filter that lets you embed a dynamic “Resume” or “Start Again” button inside any Moodle content using shortcodes like [resumebutton courseid=2] or [resumebutton sectionid=5]. Requires the local_resume plugin.
Latest release:
1 sites
11 downloads
1 fans
Current versions available: 1

Moodle Plugin: filter_resumebutton : 

Resume Button Shortcode

Embed Resume or Start Again Button Anywhere in Moodle Using Shortcodes

This filter plugin allows you to embed resume buttons for Moodle courses or sections using a simple shortcode syntax. It works in combination with the local_resume plugin and provides a dynamic, personalized experience for learners to continue where they left off.


🧩 Requirements

  • Moodle 4.2 to 5.0+
  • Requires the companion plugin: local_resume

✨ Features

  • ✅ Embed resume buttons inside:
    • Pages
    • Labels
    • HTML blocks
    • Course descriptions
  • ✅ Supports shortcodes:
    • [resumebutton courseid=2]
    • [resumebutton sectionid=5]
  • ✅ Automatically shows:
    • Resume (if incomplete)
    • Start Again (if all activities are complete)
    • Nothing (if section is empty)

📦 Installation

  1. Place this plugin in your Moodle filter/ directory:
    moodle/filter/resumebutton
    
     

Resume Button Filter for Moodle This Moodle filter allows you to embed course or section-level resume/start buttons inside pages, labels, and HTML blocks using shortcodes.

Usage [resumebutton courseid=2] — Course-level resume/start button [resumebutton courseid=2 sectionid=1] — Specific section resume/start button [resumebuttons courseid=2] — All section buttons for course 2 Installation Upload this folder to moodle/filter/resumebutton Go to Site administration > Notifications to complete installation Enable the filter from: Site administration > Plugins > Filters > Manage filters

Screenshots

Screenshot #0

Contributors

Rudraksh Batra (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
Please login to post comments