Wordpress: Moving the login form

Discussion in 'Templates customization' started by lena, May 4, 2012.

  1. lena

    lena New Member

    Joined:
    Aug 24, 2011
    Messages:
    5
    I am busy working on my amember Wordpress site. I love all the widgets aMember has. But, I was wondering what is the php code (or shortcode) I would use to move/add the login widget code to the header area of my site. I mean, I guess it wouldn't be a "widget" at that point. But, I want the login/pass area to show up above my header and not in the sidebar.
    I am used to adding these things to my functions file, but not sure what php code I would do to get that login area to show up in the header.
    I tried the forums and wiki first, but didn't have any luck. Any direction would be greatly appreciated.
  2. lena

    lena New Member

    Joined:
    Aug 24, 2011
    Messages:
    5
    OOOH! I think I figured it out. I haven't tested it, but I think this is the code:

    PHP:
    <?php the_widget('am4Widget_login'); ?> 

Share This Page