How do I use the Next Available Unit shortcode?

The [wpcw_course_next_available_unit] shortcode allows you to create a link to the next open/available course unit within the course from anywhere else on your site.

Parameters:

  • course (Required): A single course ID must be specified.
  • text (Optional): This is the anchor text for the link.
  • class (Optional): Add in a CSS class to the anchor tag.
[wpcw_course_next_available_unit course="1" text="Next Unit" class="button" /]

Still need help? Contact Us Contact Us