> 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/labeauty/getting-started/featured-slider.md).

# Featured Slider

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

### HTML/JavaScript&#x20;

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

Label Options: `Label Name` or `recent`

**Example:**

<figure><img src="https://1553903626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYWCQtvBnmRjgLmVjNwy9%2Fuploads%2FJpFYJNJvvhkan1HNle9Z%2Fimage.png?alt=media&amp;token=2f921df7-80a7-4d2f-9d15-4dad168dded5" alt="HTML/JavaScript" width="448"><figcaption></figcaption></figure>

### Popular Posts

<figure><img src="https://1553903626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYWCQtvBnmRjgLmVjNwy9%2Fuploads%2FGfGWYyuQcmOGxnwBmHvA%2Fimage.png?alt=media&amp;token=513f0749-ecee-4655-b01f-9d881b72dfa0" alt="Popular Posts" width="436"><figcaption></figcaption></figure>
