Placements

This article provides a detailed explanation of each setting found in AdContent > Placements.

Screenshots

AdContent > Placements
AdContent > Placements

General Settings

Page Types

Select page types to place ads. You can use the following page types:

  • All pages.
  • Home page.
  • Posts and custom post types.
  • Category, tag and custom taxonomy archives.
  • Search results page.
  • Static pages.
  • Attachments.
  • Error page 404.
  • Post type archives.
  • Author archives.
  • Date archives.
  • All archives.

Post Types

Select post types to place ads. You can select any public post types except pages and attachments, because they are already available in the “Page types” field.

Taxonomies

Select taxonomies to place ads. You can select any public taxonomies available on your site.

Placement Settings

Name

Enter a name for the placement.

Status

Select a status for the placement.

Shortcode

Enter a shortcode to receive ads. You can generate a shortcode using the Code Generator.

Viewport Size

Select how the plugin will take into account the viewport size. You can use the following options:

  • Width.
  • Height.
  • Width and height.
  • Width or height.
  • Disabled.

Minimum Viewport Width

Enter the minimum viewport width to place ads.

Maximum Viewport Width

Enter the maximum viewport width to place ads.

Minimum Viewport Height

Enter the minimum viewport height to place ads.

Maximum Viewport Height

Enter the maximum viewport height to place ads.

Container

Enter an element selector to set the search scope. This can be useful if you intend to place multiple ads in different places within a particular element. Leave this field blank to search for elements throughout the page. You can use any jQuery selector.

Placement Positions

In this section you can set positions for placing ads.

Name

Enter a name for the placement position.

Status

Select a status for the placement position.

Selector

Enter an element selector. You can use any jQuery selector.

Index

Enter the index of the element. Enter 0 or leave this field blank to select all found elements (ads will be duplicated). Enter -1 to select a random element.

Position

Select a position to place ads. You can use the following positions:

  • Before the element.
  • After the element.
  • At the beginning of the element.
  • At the end of the element.
  • Replace the element’s content.
  • Replace the element.

Number of ads

Enter the number of ads to place. Enter -1 to place all ads.

Ads will be retrieved from the beginning of the array (unless random sorting of ads is used). That is, if you specify “3” in this field, and the shortcode returns 10 ads, then the first 3 ads will be used. To place the remaining 7 ads, you need to add new placement positions.

Timeout

Enter the number of milliseconds to set the timeout for the placement.

Fade-in Duration

Enter the number of milliseconds for the fade-in effect.

Before

Enter HTML or text to add before the ads.

After

Enter HTML or text to add after the ads.

Found a spelling error? Select it with your mouse and press Ctrl + Enter