@0rbita,
More than likely you’ve copied from our shortcode documentation and pasted in the HTML from the page from copy and pasting into the site’s rich text editor.
You’ll want to open your WYSIWYG editor, switch to text, and then remove all the excess HTML from the page so that it’s JUST A SHORTCODE and no additional HTML.
As an admin you can login to your site’s admin panel through the regular wp-login.php page. Log in through there, fix your shortcode and you can then login normally on the frontend (where students would log in).
Hope that helps,
Thread Starter
0rbita
(@0rbita)
Hello,
I am sorry, I really did not understand. I mean, I do understand, but I really don’t know what the shortcode should be.
Would the shortcode be [lifterlms_login] ?
I tried that and also did not worked.
Because what I have copied from the documentation is [lifterlms_login layout=”columns” redirect=”http://mysite.tld/my-courses”%5D
And I change the URL surely. But there was no more excess HTML on the page.
Thank you again,
Natasha
@0rbita,
Sorry for being vague. I think I assumed you were trying to use the shortcode you provided a link to:
https://lifterlms.com/docs/shortcodes/#lifterlms_my_account
[lifterlms_my_account]
This is the shortcode that is used to power the student dashboard and this is the shortcode you should be using on your dashboard page!
Best,
Thread Starter
0rbita
(@0rbita)
Hello,
I do use the shortcode [lifterlms_my_account] to students dashboard.
The problem is that when I am logged out, I can’t login without being redirected to some LifterLMS page.
So I try to access My Courses https://unioqs.com.br/meus-cursos/ but I can not write a single word. That page is where the student dashboard is.
So, when I realize that, I create a new page to do only the login.
https://unioqs.com.br/login/
It does log in, but I can not redirect that to student’s dashboard.
When I try to use shortcode to do so, I could not make it works. So I am using only [lifterlms_login]
So how can I redirect the login to student’s dashboard?
Thank you
Regards,
Natahsa
@0rbita,
Your shortcode [llms_my_account] is wrapped in an <a> tag.
This means that if you login to your site and visit the dashboard page (on the admin panel) you’ll see the shortcode UNDERLINED like a link.
Remove the LINK and this will function as expected!
Thread Starter
0rbita
(@0rbita)
Hello,
Oh, yes, now I get it. Thank you!
It is perfect now.
I am sorry about the mess and thank you again