Support » Themes and Templates » How to get product on homepage?

  • I am using query post in loop.php
    query_posts( array('post_type'=>array('product','post'),'paged'=>$paged ) );
    So that the custom page ‘product’ (woocommerce product) can be displayed on home page.

    I am able to see ‘product’ & ‘post’ in home page of theme1 but not in theme2, what might be the problem?,
    suggest me place where I should check; What should I check?

  • The topic ‘How to get product on homepage?’ is closed to new replies.