WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] Add Recent Product (Items) on Pages (4 posts)

  1. skichic95
    Member
    Posted 2 years ago #

    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 fabulesswardrobe.com

    http://wordpress.org/extend/plugins/woocommerce/

  2. IgniteWoo Team
    Member
    Posted 2 years ago #

    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' ); ?>

  3. Roy Ho
    Member
    Posted 2 years ago #

    I think you meant like this:

    <?php echo do_shortcode( '[recent_products]' ); ?>
  4. skichic95
    Member
    Posted 2 years ago #

    Thank you!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.