PHPackages                             vint3/shortcodes-for-woocommerce - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. vint3/shortcodes-for-woocommerce

AbandonedArchivedWordpress-plugin

vint3/shortcodes-for-woocommerce
================================

Useful shortcodes for WooCommerce.

1.2.3(9y ago)115GPL-2.0+PHP

Since Nov 13Pushed 9y agoCompare

[ Source](https://github.com/s3rgiosan/shortcodes-for-woocommerce)[ Packagist](https://packagist.org/packages/vint3/shortcodes-for-woocommerce)[ Docs](https://github.com/vint3creative/shortcodes-for-woocommerce)[ RSS](/packages/vint3-shortcodes-for-woocommerce/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/1bab9935edc5168090579a3e10e1654f80dfff1cc9a98e45ebd5d76ecbf855b9/68747470733a2f2f706f7365722e707567782e6f72672f76696e74332f73686f7274636f6465732d666f722d776f6f636f6d6d657263652f762f737461626c65)](https://packagist.org/packages/vint3/shortcodes-for-woocommerce)[![Total Downloads](https://camo.githubusercontent.com/2f5d035c678b0ca14aed9485d0e1dfc1160d323aba21f4890232f388cb6f0458/68747470733a2f2f706f7365722e707567782e6f72672f76696e74332f73686f7274636f6465732d666f722d776f6f636f6d6d657263652f646f776e6c6f616473)](https://packagist.org/packages/vint3/shortcodes-for-woocommerce)[![License](https://camo.githubusercontent.com/ccaf690d59172905c6a359f8a4b7e13a4523199ad1f0604a6754d930497d23a2/68747470733a2f2f706f7365722e707567782e6f72672f76696e74332f73686f7274636f6465732d666f722d776f6f636f6d6d657263652f6c6963656e7365)](https://packagist.org/packages/vint3/shortcodes-for-woocommerce)[![Codacy Badge](https://camo.githubusercontent.com/dfa005b7cdc44802605acc675b3b2af0f27280d6ecef7d7488c0b62b9ee83e0d/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6466623132626530373035363437393862626139666365386365626631306133)](https://www.codacy.com/app/s3rgiosan/shortcodes-for-woocommerce?utm_source=github.com&utm_medium=referral&utm_content=vint3creative/shortcodes-for-woocommerce&utm_campaign=Badge_Grade)[![Code Climate](https://camo.githubusercontent.com/c963e67aa4910551b03c6eef0e3460f89913fc88318c366c54a273fd592f0b7f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f76696e743363726561746976652f73686f7274636f6465732d666f722d776f6f636f6d6d657263652f6261646765732f6770612e737667)](https://codeclimate.com/github/vint3creative/shortcodes-for-woocommerce)

Shortcodes for WooCommerce
==========================

[](#shortcodes-for-woocommerce)

**Contributors:** [s3rgiosan](https://profiles.wordpress.org/s3rgiosan), [vint3](https://profiles.wordpress.org/vint3)
**Tags:** woocommerce, shortcode, featured, product, category
**Requires at least:** 4.0
**Tested up to:** 4.6
**Stable tag:** 1.2.3
**License:** GPLv2 or later
**License URI:**

Useful shortcodes for WooCommerce.

Description
-----------

[](#description)

A collection of useful shortcodes for WooCommerce.

Shortcodes included:

- Featured products by category
- List subcategories from category

Installation
------------

[](#installation)

### Dashboard

[](#dashboard)

1. Go to the 'Plugins' menu, and choose 'Add New'.
2. Search for 'shortcodes-for-woocommerce', and then click 'Install Now'.
3. Click 'Activate'.

### FTP

[](#ftp)

1. Download and extract the .zip file.
2. Upload the unzipped folder to the `/wp-content/plugins/` directory.
3. Activate the plugin through the 'Plugins' menu.

### Composer

[](#composer)

`composer require vint3/shortcodes-for-woocommerce`

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

### Where can I report bugs?

[](#where-can-i-report-bugs)

Bugs can be reported on the [GitHub repository](https://github.com/vint3creative/shortcodes-for-woocommerce/issues).

### How can I contribute?

[](#how-can-i-contribute)

Join in on our [GitHub repository](https://github.com/vint3creative/shortcodes-for-woocommerce) and read our [contribution](https://github.com/vint3creative/shortcodes-for-woocommerce/blob/master/CONTRIBUTING.md) guidelines.

### How can I use shortcodes in WooCommerce?

[](#how-can-i-use-shortcodes-in-woocommerce)

Visit [Shortcodes included with WooCommerce](https://docs.woothemes.com/document/woocommerce-shortcodes/) for additional information.

### How can I use the "featured products by category" shortcode?

[](#how-can-i-use-the-featured-products-by-category-shortcode)

`[featured_products_by_category category="CATEGORY_SLUG"]`

Args:

```
'per_page' => '12',
'columns'  => '3',
'orderby'  => 'title',
'order'    => 'desc',
'category' => '',  // required
'operator' => 'IN',
'taxonomy' => 'product_cat'

```

### How can I use the "list subcategories from category" shortcode?

[](#how-can-i-use-the-list-subcategories-from-category-shortcode)

`[subcategories_from_category category="CATEGORY_SLUG"]`

Args:

```
'category'     => '',  // required
'orderby'      => 'name',
'order'        => 'asc',
'style'        => 'list',
'show_count'   => 0,
'hide_empty'   => 0,
'hierarchical' => 0,
'taxonomy'     => 'product_cat',
'show_title'   => 1,
'css_class'    => 'subcategories-from-category'

```

Changelog
---------

[](#changelog)

### 1.2.3

[](#123)

- Added Code Climate integration.
- Added moar badges (yes I am a badge poser).
- Added contribution guidelines.
- Updated README.

### 1.2.2

[](#122)

- Updated Codacy badge url.

### 1.2.1

[](#121)

- Added Codacy (a tool for automated code review) badge.

### 1.2.0

[](#120)

- Transfered the project ownership to Vint3.
- Changed the class namespace.
- Some other minor changes.

### 1.1.3

[](#113)

- Minor changes.
- Added language file.

### 1.1.2

[](#112)

- Fix PSR-4 loader conflict with older implementation.

### 1.1.1

[](#111)

- Added GitHub Updater support.
- Added Update supported WordPress version.

### 1.1.0

[](#110)

- \[subcategories\_from\_category\] shortcode.

### 1.0.0

[](#100)

- \[featured\_products\_by\_category\] shortcode.
- Initial release.

Upgrade Notice
--------------

[](#upgrade-notice)

### 1.0

[](#10)

Initial release.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Recently: every ~52 days

Total

9

Last Release

3494d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42eed63db46bd6dc4df88e37095ad4f8aeacfcc63f68e7e11c637eb9ec18a652?d=identicon)[s3rgiosan](/maintainers/s3rgiosan)

---

Top Contributors

[![s3rgiosan](https://avatars.githubusercontent.com/u/499982?v=4)](https://github.com/s3rgiosan "s3rgiosan (21 commits)")

---

Tags

wordpresswordpress-pluginpluginwordpress

### Embed Badge

![Health badge](/badges/vint3-shortcodes-for-woocommerce/health.svg)

```
[![Health](https://phpackages.com/badges/vint3-shortcodes-for-woocommerce/health.svg)](https://phpackages.com/packages/vint3-shortcodes-for-woocommerce)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)[10up/debug-bar-elasticpress

Extends the Debug Bar plugin for usage with ElasticPress

2917.0k](/packages/10up-debug-bar-elasticpress)[alleyinteractive/pest-plugin-wordpress

WordPress Pest Integration

263.7k1](/packages/alleyinteractive-pest-plugin-wordpress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
