> 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/magspot/getting-started/related-posts.md).

# Related Posts

Access your blog **Layout** > and click on the **Edit Icon** > in the **Related Posts** gadget.

Shortcode: `$results={Number of Results} $style={Gadget Style} $color={Hex Color}`&#x20;

Style Options: `1`, `2`, `3`

Color Attribute: This attribute is optional and must be entered only if you want to add a custom color.

**Example:**

<figure><img src="/files/z3UFmFpy0XMCZWmuO4Kp" alt="Related posts" width="493"><figcaption></figcaption></figure>
