Using WordPress code outside of WordPress Finally
October 30, 2012 § Leave a comment
I believe you came across with this http://codex.wordpress.org/Integrating_WordPress_with_Your_Website, simply not working at all :[.
After messing around, I found couple recipes.
In every page, put this on top.
Of course you will still get some error, search that part of the code and look for what global variable the function is calling, and put it in the end of the declaration. Such as $acf in my case.
Good to go!