Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Manage Ads in WordPress with AdRotate Plugin

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Manage Ads in WordPress with AdRotate Plugin

Managing advertisements is one of the most important things you can do as a WordPress blog owner in order to monetize your website. This is why we teach you things like how to insert ads within your post content in WordPress. Ideally, however, you want to make use of one of the many ad management plugins available for WordPress. Today we are going to talk about the AdRotate WordPress Plugin. It is one of the more simple to use plugins.

First, download and activate the plugin.

Creating and Organizing Ads

Once you have activate the plugin you should notice a tab on your dashboard that says “AdRotate”. In order to add your first add click on “Manage Ads” and then at the top click “Add New”. On this screen you will be prompted to fill in some information about the ad. Insert a title, your ad code, and fill in the display options.

Manage Ads in Ad Rotate

Once you have added several advertisements you will want to organize them into “groups” so that you can display rotating ads. To do this select the “Manage Groups” option from the dashboard tab and click “Add New” at the top. From this screen you can add and remove ads to the group. All ads in this group will be rotated in one spot on your blog.

Ad Rotate Groups

You will notice that their is also a “Manage Blocks” option in the sidebar. Blocks are essentially groups of groups. In other words, if you have several groups that you would like to “block” together, this is the where you would go.

Inserting Ads

Once you have set everything up the way you want it you will probably want to known how to include all of your ads, groups, and blocks on your blog. In order to do so you essentially have three options. You can use shortcodes, PHP, or the included widget. If you decide to use shortcodes we suggest you read our article on how to add a shortcode in WordPress to get a better understanding of what shortcodes are and how they behave. Remember that shortcodes can only be included in pages and posts so if you want to place your ads somewhere else you will have to make us of the widget or the PHP methods. To use the shortcode go back to the ad/group/block page and find the heading that says “Usage”. Underneath this you will see two options. The first is labeled “In a post or page”. This is your shortcode. Copy and paste this in any post or page to have your ads display there.

Ad Rotate Shortcodes

To use the PHP method you do the exact same thing. The other option on this screen is labeled “Directly in a theme”. This is the PHP code. Copy and paste this anywhere in your index.php, page.php, or single.php files to have your ads rotate there.

Ad Rotate PHP code

Your last option is to use the widget which can be found in the Appearance > Widgets menu. This will allow you to place your ads anywhere in the sidebar.

Download the AdRotate WordPress Plugin here

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. Jasper says:


    I’m trying adrotate but in the bottom the size is wrong, you you check my website and see what’s wrong?

    It should be a 728*90 banner.



  2. Sangam KR says:

    I have been consistently taking help from your article for my blog optimization and found your articles are offering a definite solutions. I was confused with regard to ad rotate plug in and came to this page. My confusion was between single ad screen and group ad screen. I now understood that I have to create a single ads first then group them before inserting in the anywhere in the blog. Thanks.

  3. Garikai says:

    I need to know more about inserting ads using adrotate in the header file and static front page. How do I do it? Everyone seems to just skim over this. I am using Avada and the latest version of WordPress.

    • Sangam KR says:

      Assuming that you have installed ad rotate plug and created your ads in single advertisement screen and also configured group screen the solution is insert ad rotate widget t in the header. That is it

  4. Hansjörg Leichsenring says:

    I have great dificulties in the configuration together with W3 Total Cache. Do you have any hints for me?

  5. Suhail S. says:

    You know I thought the ads would actually rotate, but they are all showing up together at the same time. What gives?

  6. Mike says:

    Would love to see an update / expanded version on this. A “Fresh” review of ad plugins would be nice too.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.