-
AuthorPosts
-
March 24, 2014 at 3:32 pm #26109
Samuel LParticipantHi,
I was just going through you demo video and you never discuss how to get someone to log out of the website. I’ve looked on Woocommerce and the shortcode: [woocommerce_logout] does not work.
Can you please assist? Thanks.
sl
March 24, 2014 at 4:27 pm #26118
SupportMemberHi Samuel,
We only provide support for X theme.For that you should consult with Woocommerce people.
Hope you understand.
Thanks
March 24, 2014 at 4:55 pm #26130
m cParticipantHi,
some of the shortcodes listed on woocommerce site dont work on non woocommerce themes, I don’t know whether they have taken them out on the 2.1.x versions or whether they are only integrated into their own themes. There are other shortcodes that no longer work aswell.
regards
March 24, 2014 at 5:49 pm #26143
SupportMemberHi Samuel,
add following line of codes to your child theme functions.php
function logOutLink() { $lout = wp_logout_url(); echo '<a href="'.$lout.'" title="Logout">Logout</a>'; } add_shortcode('logout', 'logOutLink');Use following shortcode to show logout link
[logout]
Thanks
March 25, 2014 at 10:54 am #26360
Samuel LParticipantThank you so much. This is a much better answer than the previous support answer.
March 26, 2014 at 4:08 am #26571
SupportMemberHi Samuel,
Your Welcome!
Thanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-26109 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
