WordPress.org

Ready to get started?Download WordPress

Forums

Ad Injection
I need your guide for a special type of ads (4 posts)

  1. shp1367
    Member
    Posted 1 year ago #

    Hi,
    First very thanks for your perfect plugin,

    i need your guide for my advertise placement and choose the best way to do it.

    I have 2 ads places in my theme as you see on below pic(yellow places):
    http://i47.tinypic.com/2v8oia1.jpg
    http://i45.tinypic.com/20z5wlk.jpg
    http://i49.tinypic.com/2q30tqt.jpg

    note:
    this 2 place are top and bottom of every post in Single.php,
    and just at top and bottom of main page and archives page in index.php and archive.php.

    Place #1[My 468*60 Banner ADS Here]: i can put one or more 468*60 banner
    Place #2[My ADS Here]: i can put one or more banner or static image or text or ...

    what i need for Place #1 is:

    I want put 1 or 2 or 3 468*60 banner at this place that they can rotate with any other 468*60 banner at the same place.
    it really is max 3 banner that will change with every refresh.

    what i need for Place #2 is:

    I want put one banner or every thing at this place and it can rotate at the same place.
    it really is 1 place that will change with every refresh.

    all of this ads have certain code and i want load them with php code for example.

    I hope that your powerful plugin could help me or you have a better way.

    very thanks.

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

  2. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

    Hi shp1367, the template ads feature (see the FAQ) will allow you put the ads in your theme with support for ad rotation. It'll work as long as you don't use a caching plugin.

  3. shp1367
    Member
    Posted 1 year ago #

    Hi rml,
    I test some code of your plugin but when i use them in my theme its follow of the plugin rules not my theme place.

    for example i used this code:
    <?php if (function_exists('adinj_print_ad')){ adinj_print_ad('top'); } ?>
    for my theme places but my banner show just under the post titles!

    now can you give me a sample for my place how i put the code?

    thanks

  4. reviewmylife
    Member
    Plugin Author

    Posted 1 year ago #

    Hi shp1367, I'm afraid I don't understand your question well enough to answer it properly.

    If the ads aren't appearing where you want them, then you may have put the code in the wrong place in your theme. If you experiment with moving the code around you should be able to find the correct place.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic