# 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&#x26;token=aca24652-7cae-4899-a739-1179ab02d461" alt="Product Gadget" width="455"><figcaption></figcaption></figure>
