0
我在我的worpress博客中使用WP电子商务。我想在我的模板中显示特定的产品。我写了这样的代码。什么是WP电子商务中的query_posts()的等效函数
query_posts('p=186');
while (wpsc_have_products()) : wpsc_the_product();
echo wpsc_the_product_title();
................
................
endwhile;
但它不工作。我认为问题是与query_posts()。是否有任何与query_posts等效的功能?如何在WP电子商务中显示带有ID的产品?