Live demo of the Crushjs WordPress plugins. View on CodeCanyon →

How to place AdSense ads between paragraphs (without editing code)

·

2 min read

In-content ads consistently outperform sidebar and header units. Readers who have made it past the first couple of paragraphs are engaged, and an ad that sits naturally in the flow of the article gets seen instead of ignored.

The traditional way to get there is to paste AdSense code into each post, or to edit your theme's single.php. Both are fragile: one wrong character breaks the layout, and a theme update wipes your changes.

A better approach

Crushjs Paragraph Ads stores only two values: your publisher ID and an ad slot number. The plugin builds the ad markup itself and inserts it after the paragraph you choose. The box just above the heading "A better approach" is exactly where your ad appears.

Because the markup is generated, it is always valid. The AdSense script loads asynchronously and only on posts that actually show an ad, so pages without ads stay as light as before.

Choosing the right paragraph

Paragraph 2 or 3 is a good default for most blogs. If your introductions are long, move the ad further down. Posts with fewer paragraphs than your setting still get an ad: it is placed at the end instead.

You can switch ads off for an individual post from the editor sidebar, which is useful for sponsored content or pages where ads would be out of place.

Avoid invalid clicks

Accidentally clicking your own ads is one of the fastest ways to get an AdSense warning. With "Hide ads from administrators" turned on, you never see ads while logged in, so you cannot click them by mistake.


Like what you see?

Future updates and six months of support included. Upload, activate, done.