Hello @marketinggreenpaint
There is no <a class="xoo-el-login-tgr">Login</a>
anywhere on the page.
Make sure you have added it in the correct template file.
Thread Starter
Daniel
(@marketinggreenpaint)
@xootixsupport Currently there isnt, since it was not doing anything I removed it.
Should I add it again so you could check?
Thread Starter
Daniel
(@marketinggreenpaint)
@xootixsupport Sorry for the delay, having an issue with the hosting company. Later today will tell you when everything is set up so you can try assist me.
Thread Starter
Daniel
(@marketinggreenpaint)
@xootixsupport It is up and running, please take a look when you can.
Thank you,
Daniel Oliveira
Thread Starter
Daniel
(@marketinggreenpaint)
@xootixsupport I managed to figure out WHAT, but not WHERE was “hiding” my Login button.
It was this css code
.xoo-el-login-tgr, .xoo-el-reg-tgr, .xoo-el-lostpw-tgr {
display: none!important;
}
I cant seem to find the page containing that code. Hope you can help me find it :S
Thread Starter
Daniel
(@marketinggreenpaint)
@xootixsupport
I am sorry for the spam here, jesus, its been hectic around this.
I found the page, class-xoo-el-frontend.php
with this code
//Hide popup trigger links , if user is logged in
if( is_user_logged_in() ){
$inline_style .= "
.xoo-el-login-tgr, .xoo-el-reg-tgr, .xoo-el-lostpw-tgr{
display: none!important;
}
";
}
Aparently, I was already loged in -.-
How can I add the “My Account” and “Logout” link with code similiar to what I did with “Login” and “Register”?
I know I could use the menu “menu” haha, see what I did there? But the website was made by someone else and I am not managing to make that work.
Thank you in advance,
Daniel Oliveira
-
This reply was modified 5 years, 1 month ago by Daniel.
Thread Starter
Daniel
(@marketinggreenpaint)
Any possible solution to this? @xootixsupport
Hello @marketinggreenpaint
I am not sure what you’re asking for.
If you want to create links to the my account & logout page.
You can use shortcodes
http://docs.xootix.com/easy-login-for-woocommerce/#shortcodes
Thread Starter
Daniel
(@marketinggreenpaint)
Thank you for the answer @xootixsupport
Hello,
Yes, that’s what I want, links to my account & logout page.
BUT, can I use the shortcodes in HTML code and how? How do I add this “[xoo_el_action type=”login” change_to=”logout”]” in HTML? is it possible?
Hope you can help me.
Thank you once again!
-
This reply was modified 5 years ago by Daniel.
Thread Starter
Daniel
(@marketinggreenpaint)
@xootixsupport Managed to make it work with the following code:
<?php echo do_shortcode('[xoo_el_action type="login" change_to="myaccount"]'); ?>
<?php echo do_shortcode('[xoo_el_action type="register" change_to="logout"]'); ?>
Changed the code a bit, from “Login to Register” to “Login to My Account”, and from “Register to My Account” to “Register to Logout”. I think it suits the wording and positioning better.
Thank you 😀 Good plugin! Just think you need a more detailed explanation on how to apply certain codes.