• I’ve a multi network and want to be able to place a small ad in below the forums across all sites ( without the user being able to remove it)

    How can i do this ?

Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    mu-plugins 🙂

    Toss in something like this to a file there and you’ll output that for everyone. I use it for Google Analytics.

    <?php
    add_action('wp_footer', 'your_function');
    
    function your_function() {
      $content = '<p>This is inserted at the bottom</p>';
      echo $content;
    }
Viewing 1 replies (of 1 total)

The topic ‘Adding ad code across all sites’ is closed to new replies.