Weekly Timetable

Lets posters add a weekly timetable of classes or sessions to a listing, shown by day on the listing page.

Version
0.1.1
Updated
19 November 2026
Works with
Classifieds and shops
Needs
ShopClass 7.0 or later
PHP
8.0 or later
Tested with
ShopClass 7.1
Category
Content & widgets
Price
Free
Licence
GPL-3.0+
Downloads
11
Made by
Navjot Tomer
  • Posters add sessions on the listing form
    Posters add sessions on the listing form
  • The timetable by day on the listing page
    The timetable by day on the listing page
1 / 2

Lets posters add a weekly timetable of classes or sessions to a listing: a gym's classes, a school's lessons, a club's training nights. The listing page shows it by day.

The timetable is saved in a normal Text area custom field, so it needs no new table and stays with the listing if the plugin is turned off.

Requirements

  • ShopClass 7.0.0 or later
  • PHP 8.0 or later

Install

  1. Open Plugins → Browse (or upload the zip from the GitHub release).
  2. Install.
  3. Activate.

Set up

  1. Open Forms → Manage forms and open the form for the categories that need a timetable.
  2. Use Add field to add a Text area field, for example "Weekly timetable".
  3. Open Plugins → Weekly Timetable → Settings (Plugins → Weekly Timetable on ShopClass 7.0), pick that field under Timetable field, and save. Where it shows then lists the categories the field's form is set for.

The settings page also has a short How to use it section.

How it works

  • On the publish and edit forms, the Text area becomes rows. Each row has a day, a start time, an end time, a class and details. Add a session adds a row.
  • Each row is saved as one line of the Text area, for example Mon | 18:00 | 19:00 | Yoga | Beginners.
  • The listing page shows the sessions under each day, sorted by start time.
  • The admin's listing editor shows the plain lines. They can be edited there in the same format.
  • Uninstall removes the plugin's one setting. The field and its values stay.

Theme notes

The plugin sets layout only. Inputs and buttons use the theme's own styles. The listing view uses these classes: timetable, timetable__day, timetable__name, timetable__time, timetable__note.

Translate

The template is languages/timetable.pot. Put a translation in languages/<locale>/messages.po and messages.mo, for example languages/de_DE/messages.mo.

What's new in 0.1.1

Changed

  • Admin pages are under Plugins → Weekly Timetable.

Found a problem with Weekly Timetable? Open an issue on GitHub.