Making Web Beautifulby elicus

Journal ·

Code Snippet To Add and Use Own PHP File in WordPress In Plugins or Themes

Written in 2015. Some steps may have changed since.

If you want to use own php file in WordPress, you need to make the file friendly to WordPress so that I can read rest of the core WordPress funtctions. Add this snippet on the top of the php page you create.