MySQL select query with ajax

Your list.php file does not load any of the WordPress Core, at least there is no indication that it does based on the code you posted. Thus, WordPress classes and functions are not going to be available, hence the error. Merely having a file in the theme folder does not mean that WordPress will load … Read more

Disallow second login session

The reason you’re not finding anything is because WordPress does not use any form of “sessions”. Login status information is not saved, or retrieved. Logging into WordPress basically sets a cookie in your browser which is a single authentication point. It is the equivalent of a username and password, with encryption and a timeout, all … Read more