I'm have a multisite setup with WP E-Commerce plugin. At some places I need to use switch_to_blog() on front end and use WPSC (WP E-Commerce) functions inside. Here my code ...
I use 'constants' a lot. I set them in functions.php like define('mytheme_town', 'Orlando'); and then call them into the theme <?php echo mytheme_town ; ?>. It's simple and easy. But I need ...
I've been trying to figure out why we have the constants BLOG_ID_CURRENT_SITE and SITE_ID_CURRENT_SITE (vs. hardcoding them to be equal to 1), what exactly the differences are, and when either of them ...