# Post Content ADS

Access your blog **Layout** > and click on the **Add a Gadget** > **HTML/JavaScript**, **Image** or **AdSense** > in the **Before Content**, **After Content** or **In-Article** sections.

**Example:**

<figure><img src="/files/GjTc3a2xSoc6JNVTY9pa" alt="Post content ads" width="375"><figcaption></figcaption></figure>

### Display Options

By default, ads in sections **Before Content** and **After Content** are displayed only in **“Posts”**. You can display them on specific **“Pages”** with the help of shortcodes.

Shortcode: `{showAds}`

{% hint style="info" %}
INFO: After adding the shortcode, apply the **Bold** style.&#x20;
{% endhint %}

**Example:**

<figure><img src="/files/T2IrARBu6lbTKeIb4qr2" alt="Shortcode" width="375"><figcaption></figcaption></figure>

### In-Article Ads (Between Paragraphs)&#x20;

The ad in the **In-Article** section does not have a defined display location. You can display it multiple times in **“Posts”** and **“Pages”** with the help of shortcodes.

Shortcode: **{inAds}**

{% hint style="info" %}
INFO: After adding the shortcode, apply the **Bold** style.&#x20;
{% endhint %}

**Example:**

<figure><img src="/files/RHoLJaVMmgy1WEVJmQY1" alt="Shortcodes" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
INFO: This function is compatible with the deprecated shortcodes `{ads}`, `$ads={1}` and `$ads={2}`, eliminating the need to edit old posts and pages.
{% endhint %}


---

# 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/spotlight/getting-started/post-content-ads.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.
