WordPress.org

Ready to get started?Download WordPress

Forums

WP E-Commerce - Displaying products and category on Index.php (1 post)

  1. maufrais
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic