The MU forums have moved to WordPress.org

How do you Promo graphic in one blog? all blogs? (5 posts)

  1. helenw
    Member
    Posted 16 years ago #

    I am REALLY new to this so this question might be a no brainer - but I am trying to figure out if it is possible to put a graphic if we want to put an ad or promo in ONE blog or if we want it across all blogs. Is it possible to put this in the actual blog itself? If so, how?

    Thanks for your help.

    Helen

  2. andrea_r
    Moderator
    Posted 16 years ago #

    You'll have to edit the theme templates. For EACH template. There is no way to do it from the backend of MU (for security reasons) but you can do it however you usually edit files on the server.

    You could put in a snippet of code in each sidebar template, that calls another file for your ads & promos.

  3. helenw
    Member
    Posted 16 years ago #

    Thanks Andrea. I will have to test that out.

  4. mrhenry
    Member
    Posted 16 years ago #

    You don't need to edit each theme if you just make use of the wp_head or wp_footer hook. Download the Mu admin bar plugin and modify it to display ads rather than an admin bar.

  5. MrBrian
    Member
    Posted 16 years ago #

    Not sure if i understood you completely, but you could also make a simple plugin that hooks into 'the_content' if you want to place promos or Ads inside of the blog posts. Checkout the adsense injection plugin for a good reference, it works in MU.
    http://wordpress-plugins.biggnuts.com/adsense-injection/

About this Topic