Family Encyclopedia >> Electronics

How to display ad units on specific posts in WordPress

Want to display ad units on specific WordPress posts? This ad placement allows you to show ads when your users are highly engaged with the content. In this article, we will show you how to easily display ad units on specific WordPress posts without writing any code or breaking your site.

How to display ad units on specific posts in WordPress

Why show ads on specific WordPress posts?

While there are many ways to make money blogging, banner ads top the list. You often see banner ads in the sidebar or header of the website. Because these are very common banner ads, it leads to banner blindness which affects your site's click-through rate and revenue.

To deal with this problem, many publishers insert advertisements into the post content. It works because this is the point where users are most engaged with the content. This increases the visibility of the ad and helps you get more clicks.

However, you must also take into account the user experience. Placing too many ads within your posts can be annoying and annoying.

To reduce adverse effects, you can selectively display ad units on specific WordPress posts on your site. These posts can be your most popular posts, long-form articles, or featured content.

With that said, let's see how to easily display ads on specific WordPress posts.

Display ads on specific WordPress posts

The first thing you need to do is install and activate the Adsanity plugin. For more details, check out our step-by-step guide on how to install a WordPress plugin.

Adsanity is a premium WordPress ad management plugin. It allows you to easily create ad units and display them anywhere on your WordPress site. It works with any third party ad network including Google Adsense. You can also use it to sell ads directly to advertisers.

For more information, check out our guide on how to manage ads in WordPress with the Adsanity plugin.

After activating the plugin, you need to visit Adsanity »Create Ad Page to create your first ad.

You must first enter a title for your ad. This will help you identify ads on your site.

Next, you need to choose what type of ad you want to create. Adsanity allows you to add hosted ads and third party ads.

For hosted ads, you must select the ad size. After that, you can enter a tracking URL and provide an image that you want to use for the ad.

How to display ad units on specific posts in WordPress

For third-party ad networks like Google Adsense, you need to switch to the "Third-Party Ad Network" tab. Here you can select the ad size and paste the ad code provided by the ad network.

How to display ad units on specific posts in WordPress

You can then post your ad or click the edit link and set a schedule for your ad. You will be able to set a start date and a due date for this particular ad.

How to display ad units on specific posts in WordPress

After you've published the ad, you can add it to your WordPress posts and pages, or anywhere else on your website you'd like.

Insert ad units into a WordPress post

First you need to edit the post or page where you want to display your ad unit. You will notice the 'Insert ad' and 'Insert ad group' buttons in the visual editor. You have to click on the insert ad button.

How to display ad units on specific posts in WordPress

A popup will appear where you can select the ad you want to display and click the Embed link.

How to display ad units on specific posts in WordPress

The plugin will insert the ad shortcode inside your post. You can now save and view your post to see the ad in action.

How to display ad units on specific posts in WordPress

Add Ad Block in WordPress Post Using Shortcode

You can also add the ad unit to a WordPress post using shortcode. This is particularly useful if you use the text editor to write your posts.

Go to Adsanity »Manage Ads page. You will see the list of ads you have created.

Next to each ad, you will see a shortcode link. Clicking on it will automatically copy the shortcode to your clipboard.

How to display ad units on specific posts in WordPress

Go and edit the post or page where you want to display the ad and paste the shortcode. Don't forget to refresh the post to save your changes.

We hope this article helped you learn how to easily display ad units on specific WordPress posts. You may also want to see our list of the best affiliate marketing tools and plugins for WordPress.

If you enjoyed this article, please subscribe to our WordPress YouTube Channel video tutorials. You can also find us on Twitter and Facebook.