

Ad management interface
Monetize Me is a lightweight and developer-friendly advertisement management plugin for WordPress. It allows you to manage ads, organize them using taxonomies, and display them dynamically using shortcodes, PHP functions, widgets, or Gutenberg blocks.
The plugin is optimized for WordPress Multisite, enabling Network Administrators to centrally manage and synchronize taxonomy terms (adcategory, adsponsor) and Ad posts across subsites.
adcategory)adsponsor)<p> tag injectionWhen network activated:
ad CPT posts from one site to one or more selected subsitesThe main shortcode is:
[mmps]
Supported attributes:
id
Display one specific ad by post slug.
adcategory
Either a single slug of ad Category or CSV IDs of Ad Category.
adsponsor
One or more Ad Sponsor term IDs separated by commas.
limit
Number of ads to display. Default: 1
wrapper
Wrap each ad in
<
div class=”ad-wrapper”>. Accepts 1 or 0. Default: 1
Display a specific ad by ad slug:
[mmps id=”homepage-leaderboard”]
Display one random ad from category ID 12:
[mmps adcategory=”12″]
Display one random ad from the ad category with the slug “in-article-ad”:
[mmps adcategory=”in-article-ad”]
Display two random ads from category ID 12:
[mmps adcategory=”12″ limit=”2″]
Display ads from category 12 and sponsor 3:
[mmps adcategory=”12″ adsponsor=”3″]
Display an ad without wrapper markup:
[mmps id=”sidebar-ad-1″ wrapper=”0″]
For Google AdSense or other third-party advertisement snippets, paste the provider code into an Ad post using a Custom HTML block or the code editor. Monetize Me renders the ad content without wpautop(), so the saved markup is not wrapped in extra paragraph tags.
For AdSense responsive ads, the plugin keeps the AdSense loader script and delays the slot push until the slot has visible width. This helps avoid the browser console error: adsbygoogle.push() error: No slot size for availableWidth=0.
<?php echo monetize_me_display_ad( array( 'adcategory' => 'homepage' ) ); ?>
The plugin will:
adcategory termsadsponsor termsThe plugin will:
ad custom post typeadcategory and adsponsor terms by slugThis plugin is licensed under the GPLv2 or later.