I guess I'm more confused as to why it should be outside of WordPress?
Instead of redirecting your users to a completely different mobile site, you could just use some media-queries for mobile resolutions.
Other than that, you might be able to simply access the database directly, but that goes above my knowledge level. You won't be able to use any hook like the one in the original post outside of WordPress.
(also, just to clarify, a WordPress 'shortcode' would look like this: [display-products] -- just in case you are asking elsewhere and people are confused!)
I wasn't interested in the mobile pages being WP because the mobile version would have totally different style sheet, totally different header and I would want it to be simpler and lighter weight.
But I guess I could do a custom page template... Is that what you would recommend?
You can hook into Wordpress as much or as little as you want. You want to display Wordpress content, but you don't want it to be Wordpress? That doesn't even make any sense.
My thinking was that wordpress often generates rss/xml feeds that allow you to pull content into other places.
I guess I could create a stripped down page template. I dont need any jquery, widgets, plugins, stylesheets or much of anything from my WP site. Just the products.
<?php echo wpsc_display_products_page( array( 'category_url_name'=>'bishop-place-millbrook-communities' ) ); ?>
I tried placing here... http://goodwynbuilding.com/wp-content/themes/Goodwyn/mobile/index.php
I guess that was wishful thinking.
http://goodwynbuilding.com/mobile/index.php
Can you point me in the right direction for getting the products in? Should I be using JSON?
Instead of redirecting your users to a completely different mobile site, you could just use some media-queries for mobile resolutions.
Other than that, you might be able to simply access the database directly, but that goes above my knowledge level. You won't be able to use any hook like the one in the original post outside of WordPress.
(also, just to clarify, a WordPress 'shortcode' would look like this: [display-products] -- just in case you are asking elsewhere and people are confused!)
But I guess I could do a custom page template... Is that what you would recommend?
What aspect of Wordpress are you not wanting? :S
I guess I could create a stripped down page template. I dont need any jquery, widgets, plugins, stylesheets or much of anything from my WP site. Just the products.