Jump to content
Sign in to follow this  
theoptimystic

login/logout header

Recommended Posts

theoptimystic

Hi There, 2 questions: 1- I am using the pagelines customize plugin. Through here I have put in a loop for a login link at the top. And I was given some CSS to right justify it but it does not work. Hook- // add_action('hook_name','function name'); // ---> uncomment to load add_action('pagelines_inside_top_branding', 'my_link'); // function name function my_link() { ?>

Login <?php } // end function I tried a lot of css to get it justified to the upper right corner. Can't get it to work. Can you help? 2. Is there a way to display login & logout as appropriate? For instance, if someone is logged in it will give the a logout option and vice versa. Thanks, Kim

Share this post


Link to post
Share on other sites
Jenny
No need to reinvent the wheel. :) http://wordpress.org/extend/plugins/login-logout/ More at http://wordpress.org/extend/plugins/search.php?q=login+logout

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
theoptimystic
Thanks, that's great in concept, but I need it in the header...and I need it right justified. Please advise!

Share this post


Link to post
Share on other sites
theoptimystic
They give me this code to use, but not sure where I should put it in order to get it in the header?

Share this post


Link to post
Share on other sites
theoptimystic
scratch all that....I can simplify my question. I got the widget in the header using the UNIVERSAL SIDEBAR. How can I right justify this link.... check it out: http://thinkwithyourheart.com

Share this post


Link to post
Share on other sites
Danny
HI Kim, Add this to your custom code: [code].wrap_login_logout { position: absolute; right: 0; }[/code]

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
theoptimystic
Yes!!! that just made my night, thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×