I use the template P2 for my theme.
I am just beginning with PHP and Mysql.
I have it set up where you have to login in order to enter the site, and am using the wp-login.php page.
I am trying to figure out how it stores the username so it can be referred on other pages. Is it done by cookies or sessions? I can't find the code for this.
I want to include some other pages within WordPress with the username.
Any help would be great!