> 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/seoflex/getting-started/featured-posts.md).

# Featured Posts

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

### HTML/JavaScript

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

Label Name: `Custom Label`, `recent`

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

**Example:**

<figure><img src="/files/Fe5I52pKbYLMO7wVhNrV" alt="HTML/JavaScript" width="451"><figcaption></figcaption></figure>

### Popular Posts

<figure><img src="/files/5ZdNdoZENYQ9coti4KZt" alt="Popular posts" width="439"><figcaption></figcaption></figure>
