市场新闻产品列表循环仅获取一个产品


Marketpress Productlist loop fetching only one product

这是我的mp_productlist.php

<?php get_header();?>
                <div class="content_mid">
                    <?php if ( have_posts() ) : ?>
                    <?php while ( have_posts() ) : the_post(); ?>
                    <div class="post thin">
                         <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
                             <h2><?php the_title(); ?></h2></a>
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php if ( function_exists( 'add_theme_support' ) ) the_post_thumbnail(); ?></a>
                        <h3><?php mp_product_price(true) ?></h3><?php mp_buy_button(true, 'single')?>
                    </div>
                    <?php endwhile;?>
                    <?php else : ?>
                    <?php endif; ?>
                    <!--end post-->
                </div>
<?php get_footer();?>

这就是我要得到的 http://angelov.ga/old/store/products/

它只获取一个产品而不是我拥有的两个测试产品

提前致谢

关系,我只是做了一个简单的解决方法,将所有内容分类到类别 ALL 中,并且每个补充事物都有子类别,并将浏览产品的事情更改为/类别/全部