> 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/buzzspot/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://1814594963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnb3JV3fICkSBhC5SF6jX%2Fuploads%2FJVuvcBcrCEz9BnrHRf6b%2Fimage.png?alt=media&amp;token=dab918f5-6a8d-4fef-89a6-6749b829d17c" alt="Trending Posts" width="450"><figcaption></figcaption></figure>

### Popular Posts

<figure><img src="https://1814594963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnb3JV3fICkSBhC5SF6jX%2Fuploads%2F1OY7Tkw4ubF8tMPRHfHr%2Fimage.png?alt=media&amp;token=6f423fe0-13a2-4aa1-b3fa-9b92b06ff264" alt="Popular Posts" width="446"><figcaption></figcaption></figure>
