How to Build a WordPress Lesson Accordion with HTML | PLEM Academy

By Author Jonathan David

In this PLEM Academy lesson, I show how I turn a recorded differential equations lesson, a written solution, and a recap video into one expandable entry in my WordPress textbook outline. The example comes from Section 6.1, Solutions About Ordinary Points, in Dennis G. Zill’s differential equations textbook.

Build the lesson accordion

I give the entry the same section number and title as the textbook so readers can find it in the outline. I place the original video first, add the written solution directly to the entry, and put the recap video at the end. The video transcripts help me draft summaries for readers who want to review the lesson in writing.

Create a standalone post readers can find through search

I also publish a separate post with its own URL so someone searching for the topic can discover the lesson and follow a link to Math Monthly. The accordion gives readers a way to browse the material in textbook order, and the standalone post gives them a way to share or find an individual lesson.

Build alongside the lesson

Pick one section of your own textbook or portfolio. In a Custom HTML block, use <details> for the expandable entry and <summary> for the section title. Add your video and write-up inside the entry, then preview it on desktop and mobile.

Explore PLEM Academy at Math Monthly

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x