Automatic Display Options:
Paragraph number for Automatic Display Options Before and After Paragraph:
Additional Display Options:
<?php if (function_exists ('adinserter')) echo adinserter (BLOCK_NUMBER); ?>- Insert code block BLOCK_NUMBER at any position in template file
Display Block to:
Block Alignment and Style:
PHP processing: Enabled or Disabled
Do not display ad if the number of paragraphs or the number of words is below limit (used only for position Before or After selected paragraph).
Display ad only for posts published after N days.
Do not display ads to users from certain referrers (domains) e.g technorati.com, facebook.com,... (black list) or display ads only for certain referrers (white list). Leave referrers list empty and set it to Black list to show ads for all referrers.
Do not display ads in certain caregories e.g sport, news, science,... (black list) or display ads only in certain categories (white list). Leave category list empty and set it to Black list to show ads in all categories. WARNING: If category name contains commas use category slug instead.
Do not display ads in posts with certain tags (black list) or display ads only in posts with certain tags (white list). Leave tag list empty and set it to Black list to show ads for all tags.
Do not display ads on pages with certain urls (black list) or display ads only pages with certain urls (white list). Leave url list empty and set it to Black list to show ads on all urls. WARNING: Separate urls with SPACES.
For all display positions you can also define WordPress page types where the ads can be displayed:
You can also disable ads on certain posts or pages. For each code block on posts or pages you first define default display settings. Then you can define post/page exceptions on the post/page editor page (check Ad Inserter Exceptions meta box below).
For display positions Before Paragraph and After Paragraph it is also possible to count only paragraphs that contain/do not contain certain text. If more than one text is defined (comma separated) and "contain" is selected then the paragraph must contain ALL texts.
For display positions Before Excerpt, After Excerpt, Before Title and Widget you can select additional pages where the ads can be displayed:
For display positions Before Excerpt and After Excerpt you can also specify comma separated list of excerpt numbers (1 - 9).
Ad Inserter is perfect for displaying AdSense or Amazon ads. It can also be used to display various versions of AdSense ads using channels to test which format or color combination performs best.
Support for Special Code Blocks:
Wrapping divs for code blocks have 'code-block' and 'code-block-N' classes which can be used for custom styles. Class name can be changed in Ad Inserter settings.
To configure syntax highlighting go to Ad Inserter Settings (tab #) and choose theme.
You can also easily copy settings from one block to another. Click on the Import/Export icon next to block name field. Select and copy encoded settings for the source block to the clipboard and paste them into this field of the destination block. Check the Import settings checkbox for the destination block and save settings.
WARNING: Text selection, Copy and Paste functions with the syntax highlighting editor do not work on mobile devices. If you need these functions you can temporarily swich to Simple editor using the checkbox above the code box.
Requires: 3.0 or higher
Compatible up to: 4.2.2
Last Updated: 2015-6-1
Active Installs: 10,000+
22 of 26 support threads in the last two months have been resolved.
Got something to say? Need help?