Title: shortcode for a specific course id
Last modified: September 1, 2016

---

# shortcode for a specific course id

 *  Resolved [Artos90](https://wordpress.org/support/users/artos90/)
 * (@artos90)
 * [10 years ago](https://wordpress.org/support/topic/shortcode-for-a-specific-course-id/)
 * I am setting up a new course/training site using LifterLMS Pro plugin.
 * I see there is a shortcode to display all courses/memberships on a page, however
   I want to display a specific course on a specific sales page.
 * Is there a course shortcode which includes the course id?
 * [https://wordpress.org/plugins/lifterlms/](https://wordpress.org/plugins/lifterlms/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [10 years ago](https://wordpress.org/support/topic/shortcode-for-a-specific-course-id/#post-7460045)
 * [@artos90](https://wordpress.org/support/users/artos90/),
 * We don’t currently have an id parameter that can be passed to the shortcode in
   question.
 * However you could use the Order attribute in combination with existing shortcode
   parameters to make this work.
 * 1) Set your course Order to something high like 9999.
    2) Use the shortcode to
   display one course, ordered by menu_order (the database key for “Order”, in descending
   order.
 * [lifterlms_courses posts_per_page=”1″ order=”DESC” orderby=”menu_order”]
 * I know it’s a workaround but it’ll work!
 * Take care,
 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [10 years ago](https://wordpress.org/support/topic/shortcode-for-a-specific-course-id/#post-7460140)
 * [@artos90](https://wordpress.org/support/users/artos90/),
 * LifterLMS 2.7.5, just released, adds an “id” parameter to the shortcode in question.
   Have an update, [review the documentation](https://lifterlms.com/docs/shortcodes/#lifterlms_courses),
   and enjoy!
 * Take care,
 *  [longtreeeducation](https://wordpress.org/support/users/longtreeeducation/)
 * (@longtreeeducation)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-a-specific-course-id/#post-8684181)
 * Where would I locate the ID for a course?
    When I try using the ID=”course_slug”
   it just listed all courses. I can’t seem to locate a unique course ID. Please
   help.
 *  [longtreeeducation](https://wordpress.org/support/users/longtreeeducation/)
 * (@longtreeeducation)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-a-specific-course-id/#post-8684220)
 * Found it!
    When I view the ‘courses’ page and hover over a specific course, my
   browser tells me the post number on the bottom of my browser window.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘shortcode for a specific course id’ is closed to new replies.

 * ![](https://ps.w.org/lifterlms/assets/icon.svg?rev=2034507)
 * [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes](https://wordpress.org/plugins/lifterlms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lifterlms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lifterlms/)
 * [Active Topics](https://wordpress.org/support/plugin/lifterlms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lifterlms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lifterlms/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [longtreeeducation](https://wordpress.org/support/users/longtreeeducation/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-a-specific-course-id/#post-8684220)
 * Status: resolved