Testimonials
My banners are running faster and getting more clicks, since I moved to a Premium Account.
Tom Bailey
Aquarium Fish
AdSpeed has been a very reliable service.
Samir Delgado
How do I set up advertising on WordPress?
WordPress is a popular publishing platform with many advanced customizations to suit your own preferences. To place ads into your WordPress blog/CMS, you can use
AdSpeed plugin for WordPress. For more advanced ad setup, you would need to place the serving code directly into the
WordPress templates.
Place ads only on the homepage
You would use the condition tag
is_home() in the homepage.php (or index.php). For default theme, the file would be in this folder
htdocs/wp/wp-content/themes/default/
Serve different ads for each content category
Our system is very flexible in the way you sell and organize ads. In WordPress, you would need to use
is_category(). These are several methods to organize the ads:
One zone per category
You can create multiple zones, one for each category and get the serving code for the zone to put into the WordPress template. Any/all ads linked to this zone will get served in the category. This is the easiest solution to setup and manage. However, if you have many many categories then setting up the first time might take some time. To address this labor-intensive operation, you can use our API (programming interface) to develop an automated solution.
URL targeting
You can create a few zones based on ad location (eg: top, right, bottom) that are shared across categories. The ads linked to these zones then have URL targeting. For example: only display AdA when the URL has "CategoryABC"). This requires that the URL follows a pattern that contains the defined category.
Other Articles in Serving Code
Understand advanced ad serving settings for standard, pop-up/pop-under, and interstitial serving code
Cannot find an answer for your question? Ask our Customer Care team
Related Articles
- What is AdSpeed Plugin for WordPress?

"AdSpeed has released a plugin for WordPress, a popular publishing platform. This plugin displays advertising on the sidebar and inside..."
- Zone

"Zone is the rotation pool of multiple ads. You can get a serving code for each individual zone. Other similar..."
- Channel

"A channel is a collection of zones. For publishers or ad networks with many zones, it is better to group..."
- Default and Secondary Zone

"A zone can have another zone as default or secondary. In case no ad could be chosen for the primary..."