Title: Login Shortcode
Last modified: May 24, 2017

---

# Login Shortcode

 *  Resolved [sitewrangler](https://wordpress.org/support/users/sitewrangler/)
 * (@sitewrangler)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/)
 * Hi:
 * I’m trying to implement your Front End Login feature, but I must be doing something
   wrong.
 * First of all, what’s the difference between [uo_login] and [uo_login_ui] and 
   what does the ui “stand for”?
 * Here is a description of what I’ve done and the results.
 * While Logged In
    [uo_login] My Text [/uo_login] Could see My Text AND Note: This
   page has been set as the login page for this site. The form below has been added
   for your convenience. To hide this message, add the shortcode [uo_login_ui] to
   this page.
 * AND
 * While Logged Out
    [uo_login] My Text [/uo_login] It generates two login forms,
   one above the other. I cleared the cache on that page but it didn’t make a difference.
 * While Logged In
    [uo_login_ui] My Text [/uo_login_ui] Could not see My Text but
   the following did display “Hello, CoPilot Your are logged in”
 * AND
 * While Logged Out
    [uo_login_ui] My Text [/uo_login_ui] Just the one Login Form
   without any of my text
 * Am I misunderstanding your instructions, or is something misbehaving?
 * ALSO, now when I navigate to wp-admin, I’m taken to that same “UnCanny Owl” Login
   Page and after logging in, I’m taken to the live site not the Admin side.
    Can
   we restrict the UnCanny Login to only Students and continue to use the standard
   WP Admin Login for Admins? I would find it visually easier to confirm what I’m
   doing.
 * Thanks for your time,
    Miguel

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

 *  Plugin Author [Uncanny Owl](https://wordpress.org/support/users/uncannyowl/)
 * (@uncannyowl)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9162257)
 * Hi Miguel,
 * Some quick comments for you:
 * – The text inside the shortcode only works with [uo_login].
    – You’re probably
   seeing the double login form because you used [uo_login] on the page you set 
   as your login page in the module settings. That page must use [uo_login_ui], 
   which doesn’t allow the custom text. – The redirect from /wp-admin/ to the login
   page, if you’re logged in as an admin, wouldn’t be our plugin. Maybe the site
   is http and admin is https? – You can’t have 2 login forms and use one for students
   and one for admins. It’s not possible, because it would break things like password
   reset.
 *  Thread Starter [sitewrangler](https://wordpress.org/support/users/sitewrangler/)
 * (@sitewrangler)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9164444)
 * Hi Ryan:
 * OK, I reverted to the [uo_login] and removed the Login Page selection in the 
   module. That now displays my text, while logged-in, and removed the double Login
   Form. Good, I think.
 * Clearly I don’t understand why and when to use the [uo_login_ui]
    NOR Why and
   when to select the Login Page in the module. Would you please offer some clarification
   and examples.
 * Also, thanks for suggesting the url variable. I was testing this on my Staging
   site which is http but when I applied the changes above and repeated the exercise
   on our Live https site, I logged into the Admin site via the standard WP Login
   Form then on the Live Site navigated to the Student Login Form on the Login Page.
   That settles that.
 * I look forward to your reply
    Miguel
 *  Thread Starter [sitewrangler](https://wordpress.org/support/users/sitewrangler/)
 * (@sitewrangler)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9164918)
 * Hi Ryan:
 * Following up with the Login feature. I’m experiencing some serious roadblocks
   in attempting to generate a Student Profile / Account. I’m logged out as the 
   admin.
 * The Uncanny Owl login page doesn’t offer the option to Register or to reset Password
 * Leaving the fields blank, and selecting Log In, redirects to the standard WP 
   Login module
 * I may be tenacious, but many visitors would be stumped
 * Entering test credentials into the Login Fields> Log In> Locks me out v.v. WordFence,
   my security plugin / software
    It appears that the Login Form is attempting to
   login the visitor as an Administrator and Wordfence is proactively blocking any
   such attempt, because the entered UserName is NOT on the approved list.
 * So, what am I doing wrong? Why can’t the would-be student register?
 * BTW, if replicating this via the Staging Site ie. [http://](https://wordpress.org/support/topic/login-shortcode-2/?output_format=md),
   with the [uo_login] both the Forgot Your Password and Register options are available.
 * Again, thanks for your time,
    Miguel
 *  Thread Starter [sitewrangler](https://wordpress.org/support/users/sitewrangler/)
 * (@sitewrangler)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9167107)
 * Hi Ryan:
 * Ooops!
 * The reason why both the register and password reset are / were available via 
   the Staging Site is because I still had the login page selected in the module.
 * In an attempt to understand the nuance of using the two login option shortcodes,
   I keep reading your descriptions of these features over-and-over and correct 
   me if I’m wrong, but should I understand that the [uo_login] is strictly for 
   adding the Login Form anywhere on the site, whereas [uo_login_ui] is what SHOULD
   be used on the Login Page.
 * Since it doesn’t allow me to add any text between the opening and closing instructions,
   I presume that I can drop it surrounded by text in the standard WP Editor OR 
   ALSO within Visual Composer.
 * I look forward to your feedback,
    Miguel
 *  Plugin Author [Uncanny Owl](https://wordpress.org/support/users/uncannyowl/)
 * (@uncannyowl)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9167946)
 * Hi Miguel,
 * I’m afraid that we’re unfortunately not always able to provide individual coaching
   for users of the free Toolkit. For that we try to lean on our Knowledge Base 
   and screencasts as much as possible, but we’re certainly always interested in
   feedback and issue reports.
 * What you described in your last message is exactly correct; [uo_login] for simple
   login forms throughout the site, [uo_login_ui] on the login page where password
   resets would also be performed.
 * What we generally do on sites is put 2 columns where the [uo_login_ui] form would
   be vertically on the login page; one column with the shortcode and the other 
   column with instructions and additional context. This sounds like what you’re
   trying to achieve with the additional text.
 *  Thread Starter [sitewrangler](https://wordpress.org/support/users/sitewrangler/)
 * (@sitewrangler)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9167977)
 * Hi:
 * I completely understand v.v. “coaching” and thanks for that confirmation.
 * Thanks for your time,
    Miguel

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

The topic ‘Login Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/uncanny-learndash-toolkit/assets/icon-256x256.jpg?rev=3400711)
 * [Uncanny Toolkit for LearnDash](https://wordpress.org/plugins/uncanny-learndash-toolkit/)
 * [Support Threads](https://wordpress.org/support/plugin/uncanny-learndash-toolkit/)
 * [Active Topics](https://wordpress.org/support/plugin/uncanny-learndash-toolkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uncanny-learndash-toolkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uncanny-learndash-toolkit/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [register](https://wordpress.org/support/topic-tag/register/)
 * [Setup](https://wordpress.org/support/topic-tag/setup/)
 * [sign-up](https://wordpress.org/support/topic-tag/sign-up/)

 * 6 replies
 * 2 participants
 * Last reply from: [sitewrangler](https://wordpress.org/support/users/sitewrangler/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/login-shortcode-2/#post-9167977)
 * Status: resolved