X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Include wordpress header and footer php (https://forum.x-cart.com/showthread.php?t=59381)

fyjpm 05-17-2011 06:42 AM

Include wordpress header and footer php
 
Has anyone been able to include the header and footer php files of wordpress into an xcart installation? We were able to do this with other web applications however when I include the proper files xcart takes me back to install.php.

Is there an additional step required to allow this?

If anyone has did this before help would be appreciated.

Example code:

{php}
ob_start();
include('/blog/wp-load.php');
include('/blog/header.php');
ob_end_clean();
{/php}

nickff 07-05-2011 11:09 AM

Re: Include wordpress header and footer php
 
Here's a great tutorial on the subject:

http://www.arscommunity.com/wiki/articles/x-cart-wordpress-integration#Examples


All times are GMT -8. The time now is 07:52 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.