Support » Plugin: WooCommerce » Add Recent Product (Items) on Pages

  • Resolved skichic95


    I am running WooCommerce on my site and have the home page with a illustrative graphic that I want to continue to have show when you land on the home page of my site. I am trying to figure out if there is a way to add my recent items to that page as well with some sort of code that would put the recent items appearing below the graphic. I want people that land on my site to see that there is actual product to purchase without having to figure out where to go first to find it (ie click on the categories in the right sidebar).

    My site is

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could do that in a number of different ways. Maybe the simplest is to use the “recent_products” shortcode. You can either put the shortcode in your home page, if you have the page listed under Pages in the WordPress admin area. And if not you can edit your home page template file and call the shortcode directly like this:

    <?php echo do_shortcode( 'recent_products' ); ?>

    Roy Ho


    I think you meant like this:

    <?php echo do_shortcode( '[recent_products]' ); ?>

    Thank you!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Recent Product (Items) on Pages’ is closed to new replies.