Title: Access Plan Shortcode not working
Last modified: April 12, 2019

---

# Access Plan Shortcode not working

 *  Resolved [smith29448843](https://wordpress.org/support/users/smith29448843/)
 * (@smith29448843)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/access-plan-shortcode-not-working/)
 * Hi there,
 * I decided to follow this [thread](https://wordpress.org/support/topic/show-only-the-enroll-now-button-and-not-the-complete-pricing-block/)
   to remove the pricing table and to just show a button to enroll on a course. 
   However, when I add the Access Plan ID into the shortcode such as”[lifterlms_access_plan_button
   id=”9009″]”, I successfully get the text into the button such as ‘Enroll Now’
   and when I hover over the button, I get the name of the access plan but when 
   I press the button, it doesn’t enroll the user and it sort of refreshes the page
   but the URL now has the access plan ID such as ?plan=9009. If I just use the 
   pricing table and click enroll button, the page refreshes, this works successfully
   and enrolls the user.
 * I am assuming the ‘WordPress Post ID of an Access Plan’ is taken from ‘Course’
   and then the ‘Access Plans’ section such as ‘Course One (ID# 9009) Purchase Link’?
 * Am I missing something in the shortcode or I need to modify something else? Or
   is this perhaps a bug in LifterLMS?
 * Many thanks
    -  This topic was modified 7 years, 1 month ago by [smith29448843](https://wordpress.org/support/users/smith29448843/).
    -  This topic was modified 7 years, 1 month ago by [smith29448843](https://wordpress.org/support/users/smith29448843/).

Viewing 1 replies (of 1 total)

 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/access-plan-shortcode-not-working/#post-11431318)
 * [@smith29448843](https://wordpress.org/support/users/smith29448843/),
 * I’m not entirely sure what’s happening here and without taking a closer look 
   at this first hand I’m not sure I’m going to be able to recreate the issue exactly.
 * Could you post your system report so I can look through your setup and configuration
   and even look at the page where the refresh is happening and see if I can identify
   the problem that way?
 * Here’s how the report works: [https://lifterlms.com/docs/how-to-use-the-lifterlms-system-report/](https://lifterlms.com/docs/how-to-use-the-lifterlms-system-report/)
 * Thanks,

Viewing 1 replies (of 1 total)

The topic ‘Access Plan Shortcode not working’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/access-plan-shortcode-not-working/#post-11431318)
 * Status: resolved