> 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="https://content.gitbook.com/content/WEe3RjtDQ7wNsLsA20hR/blobs/caRPtYd48dRO3E4PjFhc/image.png" alt="HTML/JavaScript" width="451"><figcaption></figcaption></figure>

### Popular Posts

<figure><img src="https://323979841-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWEe3RjtDQ7wNsLsA20hR%2Fuploads%2FCdwZLXvAMBHikPhNOeAE%2Fimage.png?alt=media&amp;token=e478423e-1610-46d7-861b-552ec5217110" alt="Popular posts" width="439"><figcaption></figcaption></figure>
