I have a new php page and I'm using wordpress for my website.
From within my new php file I've included wp_load..
which I believe is required in order to retrieve current user details.
I've then tried to echo the current loginname:
but it's coming out empty and I know it's not..
I'm I missing anything?