SOLVED Integrate a Gantry WP installation inside a PHP app
Posted 11 years 10 months ago
We have a client that has a PHP e-Commerce app and we have to integrate a just created WP site to that environment. We have to have a minicart from their app running on all the WP pages. Their PHP app uses a DB2 database. Does someone have faced a similar situation here and how did you solve the problem? All the suggestions are welcome. Thanks!
Re: SOLVED Integrate a Gantry WP installation inside a PHP app
Posted 11 years 8 months ago
Hi,
I had a site running WordPress and osCommerce as the ecommerce solution. What we did was to load WordPress inside osCommerce and then replace osCommerce's template files to load the theme's header and footers. To load WordPress you just need to include 'wp-load.php' file located at the root of WP installation; then you can call get_header() and get_footer() functions in the proper moment to wrap the templates of your eCommerce solution with the theme.
Please don't PM unless requested
Consider using the custom stylesheet for all your CSS customizations:
gantry-framework.org/documentation/wordp...custom_stylesheet.md
.
Please provide the URL to the issue.
And please mark the thread as solved if the issue is resolved.