Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State and country dropdowns are not in sync when a page using the [lifterslms_my_account] shortcode is not set as the official student dashboard page. #2616

Open
dominiquemariano opened this issue Mar 15, 2024 · 0 comments
Assignees

Comments

@dominiquemariano
Copy link

Reproduction Steps

  1. Install a fresh copy of WordPress and LifterLMS.
  2. Make sure that you have completed setting up LifterLMS through the setup wizard. This will ensure that you have the "Dashboard" page.
  3. Use themes like the Twenty Twenty Four theme, Sky Pilot, Astra, or Kadence.
  4. Create a page named "My Student Account" and use the [lifterslms_my_account] shortcode on it.
  5. View both the "Dashboard" page and the "My Student Account" page on the front-end as a non-logged in site visitor.

Expected Behavior

Both the "Dashboard" page and the "My Student Account" page should display what you see in this screenshot.

Actual Behavior

Only the "Dashboard" page displays what you see in this screenshot. The "My Student Account" page that uses the displays this screenshot.

Why this happens.

The select2 JS and CSS files from LifterLMS are not being loaded when the page using the the [lifterslms_my_account] shortcode is also not set as the page in WordPress Dashboard > LifterLMS > Settings > Accounts > Student Dashboard > Dashboard Page.

@ideadude ideadude self-assigned this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Awaiting Triage
Development

No branches or pull requests

2 participants