About Katz Web Services
Katz Web Services is a web development company operated by Zack Katz.
-
Plugin Support Topics
Popular Posts
- Simple Vertical Align Plugin for jQuery
- How to Create a Custom RSS Feed in WordPress in 12 Lines of Code
- Contact Form 7 Modules - A Plugin
- iContact Widget for WordPress
- Gravity Forms Shortcode Explained
- WordPress Content Spinner Plugin - SEO WordSpinner
- Weather Forecasts for WordPress - WP Wunderground Plugin
- jQuery validator annoyances
Tag Cloud
Denver WordPress Plugins Design WP Plugins CSS Functions.php Code Nofollow Search Engine Optimization Optimization SEO Interspire Shopping Cart Marketing Domains Google Blogging Google SEO Denver SEO Website Redesign eCommerce Search Shopping Cart Web Design Links Interspire Development Plugin WordPress Javascript WordPress Development WordPress SEO
Tag Archives: WordPress Integration
Incorporate WordPress with Interspire Shopping Cart
I’m going to elaborate on this further (and about Interspire in general), but for those of you who want to make WordPress functions available throughout your shopping cart, here’s how:
Before the closing (see Update below).?> in the init.php file, add the following code:
require(realpath(ISC_BASE_PATH).'/blog-directory/wp-blog-header.php');, where /blog-directory/ is your WP installation. If you installed it in the root directory, then you’d simply need require(realpath(ISC_BASE_PATH).'/wp-blog-header.php');
Update: There is a bug that happens when the include is placed at the bottom of init.php; instead, add require(realpath(ISC_BASE_PATH).'/wp-blog-header.php'); on the line below require_once(dirname(__FILE__).'/lib/init.php'); (line 3).
Voila! That simple. Any questions?
Posted in Interspire, WordPress
Tagged Interspire Shopping Cart, Shopping Cart, WordPress, WordPress Integration
19 Comments