WordPress.org

Ready to get started?Download WordPress

Forums

Ad Injection
Using a shortcode or php as an ad (3 posts)

  1. jasontucker
    Member
    Posted 1 year ago #

    I'd like to be able to use a shortcodes or php in the advert blocks, can this be done?

    http://wordpress.org/extend/plugins/ad-injection/

  2. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

    Hi jasontucker, yes you can use PHP in the ad boxes. And you can use shortcodes, but only if the plugin processing the shortcodes runs after Ad Injection (you can change Ad Injection's priority from the UI if necessary).

  3. brettbum
    Member
    Posted 1 year ago #

    Hey Jason,

    Just a note or possible work around. I've also used this where I create a sidebar, call the sidebar via short code in Ad Injuection, then ad things to that sidebar via widgets (including php etc).

    This is a pretty powerful plugin for lots of things besides just injecting ads. :) (Sometimes a little difficult with Supercache sites though)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags