End of Year Sale: 30% off your first year on annual plans. Use code AP5-30-OFF See plans

Show one course (LearnDash Course block)

Build Your App · AppPresser Docs

Show one course (LearnDash Course block)

Dit artikel is nog niet vertaald en wordt daarom in het Engels getoond.

Your app journey: step 4 of 9, Add pages and features. New here? Read Start here: build your app with AppPresser first.

What you'll do: Show one course on an app page, with its title, Course Description and Course Content (the list of lessons).

Before you start

Add the block

  1. In the left menu, under Customization, click Custom Pages.
  2. Click the name of the page you want to change. To make a new page instead, click Add New Page, type a title, keep Page Builder selected and click Create Page.
  3. Below the last block on the page, click Add Block.
  4. In Search blocks…, type LearnDash Course, then click the block. It is added to the bottom of the page.
  5. In ID, type the course ID number. This box is required.

    The LearnDash Course block below the Course List block in the editor, with its empty ID box

    The ID box of the LearnDash Course block, with Display a single course by ID under it

  6. Click Save Changes at the top of the editor.
  7. To see a new page in the App Preview, add it to a menu. See Add a page to your app menu.

Find the course ID

  1. In your WordPress admin, click LearnDash LMS, then Courses.
  2. Click the course to open it.
  3. Look at the web address at the top of your browser. The number after post= is the ID, for example 262.

What you see in the app

The page shows the course title, Course Description and Course Content with the lessons.

A course in the App Preview with its Course Description and the lessons under Course Content

When a student is logged in, they also see a Progress bar. Each lesson has a circle that gets a check mark when the student finishes it.

A course for a logged-in student with Progress at the top and a circle next to each lesson

Tips

Tips

  • To move a block, drag it by its handle (the dots on the left). Click the arrow to fold it closed.
  • To copy a block, click the Duplicate icon.
  • To turn a setting on or off, click the switch itself, not the words next to it.
  • After you save, open the page in the App Preview and check your changes.

Careful: The trash icon removes a block right away. Check before you click.

You're done when the block shows on your page in the App Preview.

Next step

Show a student profile (LearnDash Profile block)

Was dit nuttig?

Kunt u het niet vinden?

Ons ondersteuningsteam kan helpen bij het instellen, bouwen en app store vragen.