> For the complete documentation index, see [llms.txt](https://docs.probloggertemplates.com/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.probloggertemplates.com/guides/amazen/getting-started/product-gadget.md).

# Product Gadget

Access your blog **Layout** > and click on the **Add a Gadget** > **HTML/JavaScript** > in the **Sidebar** section.

Shortcode: `{getPosts} $results={Number of Results} $label={Your Label}`

Example:&#x20;

<figure><img src="https://262836857-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0V8gOnx5bXzqLuU7ALmP%2Fuploads%2Fh1TrFSE9cPTUWmu0Dd8p%2Fimage.png?alt=media&amp;token=aca24652-7cae-4899-a739-1179ab02d461" alt="Product Gadget" width="455"><figcaption></figcaption></figure>
