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

  1. jasontucker
    Posted 3 years ago #

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


  2. reviewmylife
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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

  • Ad Injection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic