[wp-hackers] Use WP User Validation for Non-WP Pages
websweetweb at gmail.com
Mon Aug 24 20:24:10 UTC 2009
If you include the wp-config.php file in the beginning of your php page,
you can bring the entire wordpress API
into scope of your script. From there you can do whatever user
validation you need.
Chris Williams wrote:
> Let me clarify, these pages will be fully part of the site, including
> headers/footers as required, they just won't have a "loop".
> Thanks in advance,
>> From: Chris Williams<chris at clwill.com>
>> Reply-To:<wp-hackers at lists.automattic.com>
>> Date: Mon, 24 Aug 2009 10:23:37 -0700
>> To:<wp-hackers at lists.automattic.com>
>> Subject: [wp-hackers] Use WP User Validation for Non-WP Pages
>> I want to have some pages on my site, mostly a WP blog, accessible to only
>> WP logged in users. These are not WP pages, but other PHP-coded pages.
>> Pointers to references on how to accomplish this are appreciated.
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers