# Post Gadgets

Access your blog **Layout** > and click on the **Add a Gadget** > **HTML/JavaScript** > in the **Sidebar** or **Footer Widgets** sections.

Shortcode: `{getPosts} $label={Label Name} $results={Number of Results}`&#x20;

Label Name: `Custom Label`, `recent`&#x20;

Number of Results: The attribute `$results={}` is optional! Default is `4`.

The `$label={}` attribute is optional! The default value is `recent`.

**Example:**

<figure><img src="https://content.gitbook.com/content/Lgk0Bukp3MlddTFYiGbP/blobs/dZnK5Z0p5GDy95GIPEv0/image.png" alt="Post gadgets" width="375"><figcaption></figcaption></figure>
