This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Add login and Logout to header

11 years ago · Last reply by Andrew Misplon 11 years ago

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.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Greg Priday Staff 11 years, 8 months ago

    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.

  2. serverjohn 11 years, 8 months ago

    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.

  3. Andrew Misplon Staff 11 years, 7 months ago

    Hi John

    I think the WooCommerce shortcodes might help you get these pages up and running: http://docs.woothemes.com/document/woocommerce-shortcodes/.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread