I would like to add a login/register to the header of my vantage premium theme. I am wondering what the best way to do that is.
I have found this snippet of code:
http://docs.woothemes.com/document/display-my-account-link-in-a-template-file/
Is the best practice to get a php text widget for the header and add this code?
Or perhaps is the best practice to add to a child theme functions.php?
An example/instructions would be great!
Your help is very much appreciated.
Hi John
The easiest way to add this would be using the following plugin. It allows you to add login and logout items to your menu.
https://wordpress.org/plugins/baw-login-logout-menu/
If you want create something more custom, then you’d probably need to hire a developer to handle this for you.
https://codeable.io/
They should be able to create a child theme that adds a login/logout header bar.
Thank you for your quick response!
I think I left out some valuable information. The login/logout I want is for woocommerce. Would this change what I need? Perhaps a better question is: Is the wordpress login the same as woocommerce login? I realized when I wrote the question this may not be the best place to ask but I certainly appreciate the help.
Hi John
I think the WooCommerce shortcodes might help you get these pages up and running: http://docs.woothemes.com/document/woocommerce-shortcodes/.