EasyWP. It's time for the fastest WP host

How to create a custom PHP page that have access to all variables and functions within the environment of our WordPress blog? The answer is very simple.


First create a page in your theme folder:



After that use this code in the top of your page

define('WP_USE_THEMES', false);

Now you can easly  use all the functions specific to WordPress (primarily the loop) in your custom page.


  1. Good top! How can I access that page now? Can I set for example something like mydomain.com/mypage/?

  2. Wow, this is so much easier than the method I currently use. Currently I have a code I normally use which as double that in length. From now on I shall use this code instead 😀

Comments are closed.