WordPress.org

Plugin Directory

Ad Inserter

Insert any HTML/Javascript/PHP code into WordPress. Perfect for AdSense or contextual Amazon ads. 16 code blocks, many display options.

1.5.5

  • Few bug fixes and code improvements
  • Added support to export and import all Ad Inserter settings

1.5.4

  • Many code optimizations and cosmetic changes
  • Header and Footer code blocks moved to settings tab (#)
  • Added support to process shortcodes of other plugins used in Ad Inserter code blocks
  • Added support to white-list or black-list individual urls
  • Added support to export and import settings for code blocks
  • Added support to specify excerpts for block insertion
  • Added support to specify text that must be present when counting paragraphs

1.5.3

  • Fixed Security Vulnerability: Plugin was vulnerable to a combination of CSRF/XSS attacks (credits to Kaustubh Padwad)
  • Fixed bug: In some cases deprecated widgets warning reported errors
  • Added support to white-list or black-list tags
  • Added support for category slugs in category list
  • Added support for relative paragraph positions
  • Added support for individual code block exceptions on post/page editor page
  • Added support for minimum number of words
  • Added support to disable syntax highlighting editor (to allow using copy/paste on mobile devices)

1.5.2

  • Fixed bug: Widget titles might be displayed at wrong sidebar positions
  • Change: Default code block CSS class name was changed from ad-inserter to code-block to prevent Ad Blockers from blocking Ad Inserter divs
  • Added warning message if deprecated widgets are used
  • Added support to display blocks on desktop + tablet and desktop + phone devices

1.5.1

  • Few fixes to solve plugin incompatibility issues
  • Added support to disable all ads on specific page

1.5.0

  • Added support to display blocks on all, desktop or mobile devices
  • Added support for new widgets API - one widget for all code blocks with multiple instances
  • Added support to change wrapping code CSS class name
  • Fixed bug: Display block N days after post is published was not working properly
  • Fixed bug: Display block after paragraph in some cases was not working propery

1.4.1

  • Fixed bug: Code blocks configured as widgets were not displayed properly on widgets admin page

1.4.0

  • Added support to skip paragraphs with specified text
  • Added position After paragraph
  • Added support for header and footer scripts
  • Added support for custom CSS styles
  • Added support to display blocks to all, logged in or not logged in users
  • Added support for syntax highlighting
  • Added support for shortcodes
  • Added classes to block wrapping divs
  • Few bugs fixed

1.3.5

  • Fixed bug: missing echo for PHP function call example

1.3.4

  • Added option for no code wrapping with div
  • Added option to insert block codes from PHP code
  • Changed HTML codes to disable display on specific pages
  • Selected code block position is preserved after settings are saved
  • Manual insertion can be enabled or disabled regardless of primary display setting
  • Fixed bug: in some cases Before Title display setting inserted code into RSS feed

1.3.3

  • Added option to insert ads also before or after the excerpt
  • Fixed bug: in some cases many errors reported after activating the plugin
  • Few minor bugs fixed
  • Few minor cosmetic changes

1.3.2

  • Fixed blank settings page caused by incompatibility with some themes or plugins

1.3.1

  • Added option to insert ads also on pages
  • Added option to process PHP code
  • Few bugs fixed

1.3.0

  • Number of ad slots increased to 16
  • New tabbed admin interface
  • Ads can be manually inserted also with {adinserter AD_NUMBER} tag
  • Fixed bug: only the last ad block set to Before Title was displayed
  • Few other minor bugs fixed
  • Few cosmetic changes

1.2.1

  • Fixed problem: || in ad code (e.g. asynchronous code for AdSense) causes only part of the code to be inserted (|| to rotate ads is replaced with |rotate|)

1.2.0

  • Fixed bug: manual tags in posts lists were not removed
  • Added position Before title
  • Added support for minimum number of paragraphs
  • Added support for page display options for Widget and Before title positions
  • Alignment now works for all display positions

1.1.3

  • Fixed bug for {search_query}: When the tag is empty {smart_tag} is used in all cases
  • Few changes in the settings page

1.1.2

  • Fixed error with multisite/network installations

1.1.1

  • Fixed bug in Float Right setting display

1.1.0

  • Added option to manually display individual ads
  • Added new ad alignments: left, center, right
  • Added {search_query} tag
  • Added support for category black list and white list

1.0.4

  • HTML entities for {title} and {short_title} are now decoded
  • Added {tag} to display the first tag

1.0.3

  • Fixed bug with rotating ads

1.0.2

  • Added support for rotating ads

1.0.1

  • Added support for different sidebar implementations

1.0.0

  • Initial release

Requires: 3.0 or higher
Compatible up to: 4.2.4
Last Updated: 2015-6-6
Active Installs: 10,000+

Ratings

4.9 out of 5 stars

Support

28 of 29 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2
100,1,1 100,3,3
100,2,2
67,3,2
100,4,4
100,1,1 100,1,1 100,1,1
100,1,1
100,2,2 100,1,1
100,1,1
100,1,1
100,2,2
100,7,7
100,2,2
100,4,4
100,1,1
100,1,1
100,1,1
100,1,1 100,2,2 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1 100,2,2
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1 100,2,2