# 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} $style={Gadget Style}`&#x20;

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

Type Options: `block`, `grid`, `col-left`, `col-right`, `video`

Style Attribute: The attribute `$style={}` should only be added to `grid` and `video` types.

Grid – Style Options: `1`, `2`&#x20;

Video – Style Options: `1`,`2`

**Example:**

<figure><img src="https://867293025-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvPCg7h7ywXgmchcOmR5E%2Fuploads%2FQV45XGCZANtzj3ccOoqI%2Fimage.png?alt=media&#x26;token=6b0e2d50-b93d-4986-8f4a-b43cce551332" alt="Content Section" width="455"><figcaption></figcaption></figure>
