gocodebox / gocodebox/lifterlms

Add parameter to redirect logged in users in [lifterlms_login] shortcode

Open
#563 3 comments 0 reactions 0 assignees View on GitHub
Type: Enhancement
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

When a non-logged in user visits a page with this shortcode, they're greeted with a login form and redirected to an admin selectable url on completing login.

Users already logged in see nothing and that's a little kink in the user experience. This can be potentially improved in two ways (as per user feedback):

1. Use the existing `redirect` parameter and redirect logged in users there.
2. Create a new parameter called `redirect_logged_in` that can be used to set a URL where logged in users are redirected when they encounter a page with the shortcode.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.