> 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/techspot/getting-started/trending-posts.md).

# Trending Posts

Access your blog **Layout** > and click on the **Add a Gadget** > **HTML/JavaScript** or **Popular Posts** > in the **Trending Posts** section.

### HTML/JavaScript&#x20;

Shortcode: `{getPosts} $label={Your Label}`&#x20;

Label Options: `Label Name` or `recent`

**Example:**

<figure><img src="https://content.gitbook.com/content/eAUMaWfFsXwGPzeBElEw/blobs/126eFUd3of1VbwpUflsG/image.png" alt="Trending Posts" width="450"><figcaption></figcaption></figure>

### Popular Posts

<figure><img src="https://2234980060-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeAUMaWfFsXwGPzeBElEw%2Fuploads%2FAgWPy7hD7XHiPppeRGdh%2Fimage.png?alt=media&amp;token=43b0202e-982b-42f0-8a84-3ec014c8e6cf" alt="Popular Posts" width="445"><figcaption></figcaption></figure>
