How do I place self-enrollment buttons on my site?

The [wpcourse_enroll] shortcode will allow you to create a course enrollment button for your courses.The shortcode will work for both users who are logged and users who are registering. 
Logged on users - They will automatically be enrolled into the specified course(s) and a message notification will appear upon successful enrollment. If the course is a paid course, then they will either be adding the course to the shopping cart and/or get redirected to the checkout page depending on how the shopping cart is configured.
Logged out users - They will be immediately taken to the registration page, and upon registration they will be enrolled into the specified course(s). If the course is a paid course, then they will either be adding the course to the shopping cart and/or get redirected to the checkout page depending on how the shopping cart is configured.
Here's a summary of the shortcode parameters for [wpcourse_enroll]:
  • courses (Required) A comma-separated list of course IDs that the user will be enrolled into. If this is not specified, then the button will not appear.
  • enroll_text (Optional) This is simply the text that will appear on the button. If the parameter is not specified, "Enroll Now" will be displayed as default.
Here is an example of how [wpcourse_enroll] shortcode works:
[wpcourse_enroll courses="1,2,5,10" enroll_text="Enroll Today!" /]
		

Still need help? Contact Us Contact Us