# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.probloggertemplates.com/guides/magspot/getting-started/content-section.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
