Thread Starter
bexxie
(@bexxie)
I forgot to mention that this only happens when I’m logged in as a “customer.” It works fine if I’m logged in as an administrator. I’m using the latest version of WordPress and Woocommerce.
Thread Starter
bexxie
(@bexxie)
Ok, I figured it out. I just needed to add this snippet:
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>
However, I’m getting a different issue where I can’t logout on IE8. Every other browser works fine, but on IE8, I have to click logout a couple of times and then it goes to a page that says “Are you sure you want to logout” and then redirects to a WordPress login page. Obviously, I don’t want customers going to that page. I’ve googled this issue and can’t seem to figure it out. Any help is greatly appreciated!
This is happening to me as well but only on IE8. I checked my wordpress and site url and they are exactly the same. Does anyone else have another solution?
Thanks!