Trends

Tutor LMS Shortcodes

Student Registration – [tutor_student_registration_form]

Instructor registration – [tutor_instructor_registration_form]

Dashboard – [tutor_dashboard]

You can use the shortcodes from the Gutenberg blocks option directly by clicking the buttons as shown below. You will not have to memorize the shortcodes or search the documentation every time you need to use them.

[tutor_course id="20,64" exclude_ids="567,332" category="18,19" orderby="ID" order="desc" count="3"]

Courses

You can embed a single course or multiple courses based on course ID and category. You can also exclude certain courses and limit how many courses you want to show. We have also added a parameter to sort the order.

Here is an example with all the possible parameters-


id – You can use the course ID here. To find the course ID, you have to open the edit screen of the post. You will see something like /wp-admin/post.php?post=5605&action=edit. Here 5605 is the course ID. You can use multiple course ID here. You have to separate each course ID with a comma.

exclude_ids– You can use specific course IDs from the list you are going to render.

category – you can use one or multiple course ID here. The process to get the category ID is the same as getting the post ID.

orderby – this parameter helps you define which criteria you want to use to order the courses.

ID – using this option will sort the courses based on the course ID.

Title – using this option will sort the courses based on the title. The course titles starting with A will get priority, then course title starting with B, C, D, etc.

Rand – this will randomize the order of the courses shown.

Date – this parameter will help you to display the newly published courses at the top.

order – this option has two parameters. You can use asc or desc to define the order to arrange the courses. If you are embedding one single course, you will not need this option.

count – this limits the number of results. Like you may want to show the 3 latest courses on a specific category. So, you can use this option to set the limit of results.

22 comments:

  1. If I want to display a course grid on the homepage of my website, with the most recent courses, how would I do that?

    ReplyDelete
    Replies
    1. Use [tutor_course] shortcode on home page.

      Delete
    2. does anyone have any idea how to sort out the logout error on tutorlms

      Delete
    3. We can solve your logout errors. You can contact us on https://wphooks.blogspot.com/p/contract.html

      Delete
    4. Hello
      I used this code [tutor_course], but its showing only 6 courses, it doesn't showing the (1 2 3 Next) to view all courses. I have 55 courses, how I can showing all courses.
      Thank you.

      Delete
    5. If you use elimentor page builder or Other page builder, This problem will happen. For this you should use [tutor_course column_per_row='3' count="55"] your all courses will listed in your page.

      Or you can update Course Archive page from the settings. To enable this archive page option Go to >> TUTOR LMS SETTINGS >> click COURSES TAB >> scrolldown to Archive section >> Select your course page >> you can set COURSE PER PAGE and COURSE PER ROW.

      See Image : https://bit.ly/3m7wfz7

      Thank you !

      You can contact us!

      Delete
  2. If you want to show courses on home 🏠 page,just paste [tutor_course] shortcode in that page. Your all courses will listed on that home page.

    ReplyDelete
  3. If I want to display a course grid on the "enrolled courses page" of my website, with the enrolled courses for a logged user, how would I do that? Can I do this with a shortcode?

    ReplyDelete
    Replies
    1. If you use check your dashboard page. It will show enrolled courses in grid format. For this dashboard page... You can check tutorlms documentation... Or use can create dashboard page through this shortcode : [tutor_dashboard]


      If any query regarding tutor lms you can contact through our contact page...https://wphooks.blogspot.com/p/contract.html

      Delete
  4. how can i setup reset page for tutor because when i click as a user on reset password it redirected to WP login page?

    ReplyDelete
    Replies
    1. Please describe the problem. You want to design wp login page?

      Delete
  5. How can I disable/hide the "Create a New Account" button on the Student Login page? I would like the logins will be created only by the admin. Please help. Thank you.

    ReplyDelete
    Replies
    1. Hi....How can I disable/hide the "Create a New Account" button on the Student Login page?

      You can do it very easily.

      Go to WordPress Admin >> Appearance menu >> Customize option >> Additional CSS >> Paste CSS code

      .tutor-form-register-wrap{
      display: none;
      }

      Delete
  6. How do I make my courses view horizontal on mobile and not just vertically aligned if at all I want to show you some courses on the homepage

    ReplyDelete
  7. Hi, Can I display course by specific tag with a shortcode?

    ReplyDelete
    Replies
    1. Go to Tutor LMS and click settings > set Course Archive Page

      Scrolldown below and enable Course Filter

      Lets select your Preferred Course Filters, which are

      1. Keyword Search
      2. Category
      3. Tag
      4. Difficulty Level
      5. Price Type

      Enable your required course filters. That's it.

      Now, click on the save settings button and your course page will activate the tags filtered facility on your course page.

      Delete
  8. How can i display a search box on my homepage and will enable students search for courses

    ReplyDelete
    Replies
    1. Thank you for asking question here. Send your site link on our contact page. We will check you site to solve your query.

      Delete
  9. how can i make login page from where instructor and student goes login? any shortcode etc ?

    ReplyDelete
  10. how to show tutor on category wise?? please help us

    ReplyDelete
  11. Hey! Please help to display the “End course” button on the page of the last lesson.

    This is very important, 80% of my students don’t know how to complete the course.

    And the button to download the certificate or redirect to the page for downloading the certificate. Perhaps through a shortcode? I didn’t find anything in the documentation! Thank you

    ReplyDelete
  12. How can I display course of specific category only?

    ReplyDelete