How to Show Specific Category on Shop Page

Today, I read a question

“I’m using WC (free version) for my shop with GP Premium. Shop page is set as my home page. I want the shop page to show only one category. Best way I found to do this so far is using WC shortcode. The problem is I lose the functionality of the product sorting. Anyone have an idea to get this functioning without having to buy the premium WC version?”

How to Show Specific Category on WooCommerce Shop Page?

Just follow these steps.

1. Install and Activate Code Snippets Plugin

code-snippets-install1-min

2. Add New Snippet

code-snippets-add-new-min

3. Paste these code

Copy these code

and paste

show-specific-category-on-shop-page-min

and click Only run on site front-end

4. Save Changes and Activate

code-snippets-save-changes-activate-min

Snippet: BusinessBloomer.com (Fixed a bit of original snippet)

Share this post:

Leave a Comment