Including facebook.php in a wordpress page template?
-
I was wondering if I can include Facebook’s php sdk file into a wordpress page template ?
For example in page.php:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]Can i attempt to include facebook.php like this:
[Ditto]
I’ve tried doing the above, but the echo “pass”; was not executed, this means that the require_once TEMPLATEPATH.’/include/facebook.php’; line has failed.
Can anyone advise me on how to achieve this ?
Thanks!
- The topic ‘Including facebook.php in a wordpress page template?’ is closed to new replies.