I want to show the woocommerce login and register page but without the options when an user is logged in.
In former versions you could use a shortcode but now you have to use [my_account]. When an user is logged in, he sees his account information.
Are there any hooks / functions to show the register and login forms?
Thanks Maddin
Although Oliver's code works, it's now missing a couple Woocommerce styles and subsequent JS that WP uses to render the form correctly. Perhaps they added these since the answer was posted. This snippet adds relevent
<body>
classes if thewoo-login
shortcode is used.Heres a link to the Gist: https://gist.github.com/dhaupin/7a5d429de5be0d623add58edad51b479
i know, the question is a little bit older...
Try this: