WordPress.org

Support

Support » Plugins and Hacks » WP E-Commerce – Displaying products and category on Index.php

WP E-Commerce – Displaying products and category on Index.php

  • Hi,

    I’m using WP E-commerce and would like to display recent products on my index page, basically replacing “recent posts” with “recent products.”

    The code is currently:

    <?php
    		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    		query_posts('cat=-' . $blog_ID. '&paged='.$paged);
    		while (have_posts()) : the_post();$i++;?>

    Shouldn’t there be a way to replace query_posts with the E-Commerce categories?

    Perhaps I’m not explaining this well, in which case, I apologize.

  • The topic ‘WP E-Commerce – Displaying products and category on Index.php’ is closed to new replies.
Skip to toolbar