WordPress.org

Forums

Ad Injection
[resolved] Shortcode for ads? (10 posts)

  1. RavanH
    Member
    Posted 2 years ago #

    Hi,

    Is there a shortcode available to get some control over where ads are placed inside page/post content?

    Thanks :)

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

  2. reviewmylife
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, you'll find them listed near the bottom of the UI, in one of the collapsible sections on one of the first two tabs (sorry I can't remember which section off the top of my head, but there aren't that sections, so you'll easily find it).

  3. RavanH
    Member
    Posted 2 years ago #

    OK, thanks! I'd been looking on the FAQ and settings pages but could not find it anywhere...

  4. FaithJava
    Member
    Posted 2 years ago #

    Can't find the shortcode, can you be specific please?

  5. reviewmylife
    Member
    Plugin Author

    Posted 2 years ago #

    Look at the 'supported in-page tags' section on the advanced tab.

  6. FaithJava
    Member
    Posted 2 years ago #

    Thanks, I will check do that and get back to you.

  7. FaithJava
    Member
    Posted 2 years ago #

    Thank you rml, but what I need is a short code to place my ad at the very top above the website Header because Ad Injection only place top advert at the top of your post not header, please how can I place my top ad above my header? Will be looking forward to hear from you soon.
    Thanks once again.

  8. RavanH
    Member
    Posted 2 years ago #

    FaithJava, you probably will need to edit your theme header.php for that. You can use http://codex.wordpress.org/Function_Reference/do_shortcode (second example) as a method to get the ad where you want it.

  9. FaithJava
    Member
    Posted 2 years ago #

    okay, thanks.

  10. reviewmylife
    Member
    Plugin Author

    Posted 2 years ago #

    Hi FaithJava, if you want to do this with Ad Injection you can use the template ads feature (see the FAQ). You would have to edit your template to do this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.