WordPress Functions in non WordPress pages

Include wp-load.php

Older version was to include wp-blog-header.php but this causes conflicts if the page uses search engine friendly URLs requiring htaccess RewriteRule.

Leave a Comment