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

Show a student profile (LearnDash Profile block)

Build Your App · AppPresser Docs

Show a student profile (LearnDash Profile block)

இந்தக் கட்டுரை இன்னும் மொழிபெயர்க்கப்படவில்லை, எனவே ஆங்கிலத்தில் காட்டப்படுகிறது.

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: Add a profile page that shows the logged-in student's picture, name and courses.

Before you start

Add the block

This block has no settings.

  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 Profile, then click the block. It is added to the bottom of the page.

    The LearnDash Profile (no options) block in the editor between the LearnDash Course and LearnDash Courses (Iframes) blocks

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

If you chose LearnDash when you made your app, AppPresser already made a Student Profile page with this block on it.

The ready-made Student Profile page in the editor with the LearnDash Profile block; the App Preview is logged out and shows the Courses screen with a LOGIN bar
The Student Profile page in the editor. The App Preview is logged out and shows the Courses screen, not the profile.

What you see in the app

When nobody is logged in, the page shows a LOGIN bar and the words "Please login to view your profile."

The App Preview when logged out, with the LOGIN bar and Please login to view your profile

When a student is logged in, they see their picture, their name and their courses.

Check it as a student

The App Preview starts logged out. To see what a student sees:

  1. Make a test student on your WordPress website. Use a student who has joined a course. Do not use your admin account.
  2. Add a Login Toolbar block to the page.
  3. Click Save Changes.
  4. In the App Preview, click LOGIN.
  5. Type the student's Username and Password, then click SUBMIT. After a few seconds, the bar shows LOGOUT.
  6. Click More, then Student Profile.

The More menu in the App Preview listing Student Profile, Our Website and LearnDash Block Test

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 courses from your website (LearnDash Courses (Iframes) block)

இது உதவியாக இருந்ததா?

கிடைக்கவில்லையா?

எங்கள் ஆதரவுக் குழு அமைவு, உருவாக்கம் மற்றும் app store கேள்விகளில் உதவ முடியும்.