Home>Support>Add login and Logout to header

Add login and Logout to header

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 2 months ago Greg Priday
    Hi, I Work Here

    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. 10 years, 2 months ago serverjohn

    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. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More