david212 Posted November 2, 2010 Share Posted November 2, 2010 Hello. I'd like to ask something to experts. I have wordpress blog , for example http://site.com . And in the root directory where my site is located i have other file.php (http://site.com/file.php). So, can i use wordpress header.php and footer.php files in my file.php , the only thing i want to do is that file.php have the same header and footer that wordpress has. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/217546-wordpress-and-regular-php-files/ Share on other sites More sharing options...
Adam Posted November 2, 2010 Share Posted November 2, 2010 Yeah, this may help: http://www.problogdesign.com/wordpress/use-wordpress-as-a-php-framework-for-your-static-html-pages/ I haven't actually read it but seems to be on about what you're wanting to do. Quote Link to comment https://forums.phpfreaks.com/topic/217546-wordpress-and-regular-php-files/#findComment-1129364 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.