> 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/content-section.md).

# Content Section

Access your blog **Layout** > and click on the **Add a Gadget** > **HTML/JavaScript** > in the **Content Section 1** or **Content Section 2**.

Shortcode: `{getPosts} $results={Number of Results} $label={Your Label} $type={Gadget Type} $color={Hex Color}`&#x20;

Label Options: `Label Name` or `recent`&#x20;

Type Options: `block1`, `block2`, `list1`, `grid1`, `grid2`, `col-left`, `col-right`, `video`

Style Attribute: `$style={Gadget Style}` This attribute is only available for the video type.&#x20;

Style Options: `1`, `2`

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

**Example:**

<figure><img src="/files/S3mDZvp09BziZgyngCRr" alt="Shortcode" width="491"><figcaption></figcaption></figure>
