Skip to main content

Use code ADCMDR50 for 50% off one year of Pro

Placement positions for ad injection

To automatically inject an ad or group of ads into your site, first you must choose a placement position:

  • Content: Before Content – before the_content() in the main query
  • Content: After Content – after the_content() in the main query
  • Content: Within Content – within the_content() in the main query; choose a % of content to display before the ad
  • Content: After Paragraph # – within the_content() in the main query; inject ads after a specific number of paragraphs
  • Posts Lists (Blogs, Archives, etc) – Insert ads within a post loop after a specified number of posts
  • Popup Overlay – Ads will display in an overlay that pops up after a set number of seconds or scroll percentage
  • HTML: Before </head> – Insert an ad in the HTML head of the site; for use with Text or Code ads
  • HTML: Before </body> – Insert an ad before the closing </body> tag of the site; often used with Text or Code ads but not required

Automatic placement positions are often combined with Content Targeting settings. For example, you would rarely want an ad to display “Before Content” on every single page, post, and custom post type of the site. It is more likely that you would want a particular ad to display “Before Content” on only blog posts. To accomplish this, you would select Before Content as your placement position, then limit the placement by implementing a content condition for “Post Type is post.”