{"id":72913,"date":"2017-08-07T14:05:34","date_gmt":"2017-08-07T14:05:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/monetize-me\/"},"modified":"2026-04-27T18:18:10","modified_gmt":"2026-04-27T18:18:10","slug":"monetize-me","status":"publish","type":"plugin","link":"https:\/\/fr.wordpress.org\/plugins\/monetize-me\/","author":13546804,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.2","stable_tag":"2.0.2","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Monetize Me","header_author":"Micro Solutions BD","header_description":"Monetize Me plugin will help webmaster to manage monetize scripts and display using shortcodes and widgets.","assets_banners_color":"d6d6e6","last_updated":"2026-04-27 18:18:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/microsolutionsbd.com\/wp-plugin-msbd-logs\/2026\/","header_author_uri":"https:\/\/microsolutionsbd.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1548,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.0.6":{"tag":"0.0.6","author":"shahalom","date":"2017-08-07 14:07:02"},"0.0.7":{"tag":"0.0.7","author":"shahalom","date":"2017-08-07 18:47:16"},"0.0.8":{"tag":"0.0.8","author":"shahalom","date":"2017-08-10 15:28:20"},"0.0.9":{"tag":"0.0.9","author":"shahalom","date":"2017-10-26 21:29:07"},"1.0.0":{"tag":"1.0.0","author":"shahalom","date":"2019-12-03 10:57:29"},"1.0.1":{"tag":"1.0.1","author":"shahalom","date":"2019-12-03 12:32:48"},"2.0.0":{"tag":"2.0.0","author":"shahalom","date":"2026-04-26 19:12:16"},"2.0.2":{"tag":"2.0.2","author":"shahalom","date":"2026-04-27 18:18:10"}},"upgrade_notice":{"2.0.2":"<p>Adds Multisite Network Admin support for copying Ad posts to destination subsites while skipping duplicate slugs.<\/p>","2.0.1":"<p>Adds Multisite Network Admin tools and taxonomy synchronization. Recommended update for all multisite installations.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1709609,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1709609,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1709651,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1709651,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"monetize-me\/ad":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"monetize-me\/ad","version":"2.0.0","title":"Advertisement","category":"widgets","icon":"megaphone","description":"Display an advertisement by slug or taxonomy filters.","keywords":["ad","advertisement","banner","monetize"],"textdomain":"monetize-me","editorScript":"file:.\/index.js","style":"file:.\/index.css","attributes":{"postSlug":{"type":"string","default":""},"adCategory":{"type":"string","default":""},"adSponsor":{"type":"string","default":""},"limit":{"type":"number","default":1},"isWrapper":{"type":"boolean","default":true},"adAlignment":{"type":"string","default":"center-align"},"className":{"type":"string","default":""}},"supports":{"html":false}}},"tagged_versions":["0.0.6","0.0.7","0.0.8","0.0.9","1.0.0","1.0.1","2.0.0","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1709632,"resolution":"1","location":"assets","locale":"","width":884,"height":500},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1709603,"resolution":"2","location":"assets","locale":"","width":340,"height":604},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1709603,"resolution":"3","location":"assets","locale":"","width":869,"height":698},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1709603,"resolution":"4","location":"assets","locale":"","width":874,"height":887},"screenshot-5.png":{"filename":"screenshot-5.png","revision":1709603,"resolution":"5","location":"assets","locale":"","width":288,"height":581},"screenshot-6.png":{"filename":"screenshot-6.png","revision":1709603,"resolution":"6","location":"assets","locale":"","width":1176,"height":448},"screenshot-7.png":{"filename":"screenshot-7.png","revision":1709603,"resolution":"7","location":"assets","locale":"","width":1339,"height":564}},"screenshots":{"1":"Ad management interface","2":"Taxonomy management for Ad Categories and Ad Sponsors","3":"Network Admin settings page","4":"Term and Ad copy interfaces"}},"plugin_section":[],"plugin_tags":[2533,321,148,368,4084],"plugin_category":[35,43],"plugin_contributors":[89513,80320],"plugin_business_model":[],"class_list":["post-72913","plugin","type-plugin","status-publish","hentry","plugin_tags-ad-manager","plugin_tags-ads","plugin_tags-adsense","plugin_tags-advertising","plugin_tags-banner-ads","plugin_category-advertising","plugin_category-customization","plugin_contributors-microsolutions","plugin_contributors-shahalom","plugin_committers-shahalom"],"banners":{"banner":"https:\/\/ps.w.org\/monetize-me\/assets\/banner-772x250.jpg?rev=1709651","banner_2x":"https:\/\/ps.w.org\/monetize-me\/assets\/banner-1544x500.jpg?rev=1709651","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/monetize-me\/assets\/icon-128x128.png?rev=1709609","icon_2x":"https:\/\/ps.w.org\/monetize-me\/assets\/icon-256x256.png?rev=1709609","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-1.png?rev=1709632","caption":"Ad management interface"},{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-2.png?rev=1709603","caption":"Taxonomy management for Ad Categories and Ad Sponsors"},{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-3.png?rev=1709603","caption":"Network Admin settings page"},{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-4.png?rev=1709603","caption":"Term and Ad copy interfaces"},{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-5.png?rev=1709603","caption":""},{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-6.png?rev=1709603","caption":""},{"src":"https:\/\/ps.w.org\/monetize-me\/assets\/screenshot-7.png?rev=1709603","caption":""}],"raw_content":"<!--section=description-->\n<p><strong>Monetize Me<\/strong> 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.<\/p>\n\n<p>The plugin is optimized for <strong>WordPress Multisite<\/strong>, enabling Network Administrators to centrally manage and synchronize taxonomy terms (<code>adcategory<\/code>, <code>adsponsor<\/code>) and Ad posts across subsites.<\/p>\n\n<h4>Core Features<\/h4>\n\n<ul>\n<li>Custom Post Type for Ads<\/li>\n<li>Taxonomies:\n\n<ul>\n<li>Ad Categories (<code>adcategory<\/code>)<\/li>\n<li>Ad Sponsors (<code>adsponsor<\/code>)<\/li>\n<\/ul><\/li>\n<li>Display ads using:\n\n<ul>\n<li>Shortcodes<\/li>\n<li>PHP functions<\/li>\n<li>Widgets<\/li>\n<li>Gutenberg block<\/li>\n<\/ul><\/li>\n<li>Random ad display by category\/group<\/li>\n<li>Lightweight and extensible architecture<\/li>\n<li>Admin-only Ad CPT management using plugin-specific capabilities<\/li>\n<\/ul>\n\n<h4>Multisite Features<\/h4>\n\n<p>When network activated:<\/p>\n\n<ul>\n<li>Dedicated Network Admin settings page<\/li>\n<li>Copy taxonomy terms across subsites<\/li>\n<li>Copy all <code>ad<\/code> CPT posts from one site to one or more selected subsites<\/li>\n<li>Preserve Ad post title, slug, content, excerpt, status, menu order, custom fields, and assigned Monetize Me taxonomy terms<\/li>\n<li>Duplicate-safe copying using slug-based detection<\/li>\n<li>Summary report showing copied, skipped, and failed counts<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h4>Shortcode Usage<\/h4>\n\n<p>The main shortcode is:<\/p>\n\n<p>[mmps]<\/p>\n\n<p>Supported attributes:<\/p>\n\n<ul>\n<li><p>id\nDisplay one specific ad by post slug.<\/p><\/li>\n<li><p>adcategory\nEither a single slug of ad Category or CSV IDs of Ad Category.<\/p><\/li>\n<li><p>adsponsor\nOne or more Ad Sponsor term IDs separated by commas.<\/p><\/li>\n<li><p>limit\nNumber of ads to display. Default: 1<\/p><\/li>\n<li><p>wrapper\nWrap each ad in<\/p><\/li>\n<\/ul>\n\n<p>&lt;<\/p>\n\n<p>div class=\"ad-wrapper\"&gt;. Accepts 1 or 0. Default: 1<\/p>\n\n<ul>\n<li>class\nExtra alignment or styling class for the outer wrapper.<\/li>\n<\/ul>\n\n<h4>Shortcode examples<\/h4>\n\n<p>Display a specific ad by ad slug:<\/p>\n\n<p>[mmps id=\"homepage-leaderboard\"]<\/p>\n\n<p>Display one random ad from category ID 12:<\/p>\n\n<p>[mmps adcategory=\"12\"]<\/p>\n\n<p>Display one random ad from the ad category with the slug \"in-article-ad\":<\/p>\n\n<p>[mmps adcategory=\"in-article-ad\"]<\/p>\n\n<p>Display two random ads from category ID 12:<\/p>\n\n<p>[mmps adcategory=\"12\" limit=\"2\"]<\/p>\n\n<p>Display ads from category 12 and sponsor 3:<\/p>\n\n<p>[mmps adcategory=\"12\" adsponsor=\"3\"]<\/p>\n\n<p>Display an ad without wrapper markup:<\/p>\n\n<p>[mmps id=\"sidebar-ad-1\" wrapper=\"0\"]<\/p>\n\n<h4>PHP Usage<\/h4>\n\n<pre><code>&lt;?php echo monetize_me_display_ad( array( 'adcategory' =&gt; 'homepage' ) ); ?&gt;\n<\/code><\/pre>\n\n<h4>Multisite Term Synchronization<\/h4>\n\n<ol>\n<li>Go to <strong>Network Admin \u2192 Settings \u2192 Monetize Me<\/strong>.<\/li>\n<li>In <strong>Copy Ad Taxonomy Terms<\/strong>, select the source site.<\/li>\n<li>Select the destination subsite.<\/li>\n<li>Click <strong>Copy Terms to Selected Subsite<\/strong>.<\/li>\n<\/ol>\n\n<p>The plugin will:<\/p>\n\n<ul>\n<li>Copy <code>adcategory<\/code> terms<\/li>\n<li>Copy <code>adsponsor<\/code> terms<\/li>\n<li>Skip duplicate terms by slug<\/li>\n<\/ul>\n\n<h4>Multisite Ad Post Synchronization<\/h4>\n\n<ol>\n<li>Go to <strong>Network Admin \u2192 Settings \u2192 Monetize Me<\/strong>.<\/li>\n<li>In <strong>Copy Ads<\/strong>, select the source site.<\/li>\n<li>Select one or more destination subsites.<\/li>\n<li>Click <strong>Copy Ads to Selected Subsites<\/strong>.<\/li>\n<\/ol>\n\n<p>The plugin will:<\/p>\n\n<ul>\n<li>Copy all posts of the <code>ad<\/code> custom post type<\/li>\n<li>Skip destination Ad posts with the same slug<\/li>\n<li>Copy custom fields<\/li>\n<li>Copy and assign <code>adcategory<\/code> and <code>adsponsor<\/code> terms by slug<\/li>\n<li>Report copied, skipped, and failed counts<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the Plugins menu.<\/li>\n<li>Go to <strong>Ads<\/strong> in the WordPress admin area and create your advertisements.<\/li>\n<\/ol>\n\n<h4>Multisite Installation<\/h4>\n\n<ol>\n<li>Network Activate the plugin.<\/li>\n<li>Go to <strong>Network Admin \u2192 Settings \u2192 Monetize Me<\/strong>.<\/li>\n<li>Use the available taxonomy and Ad copy tools.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20support%20wordpress%20multisite%3F\"><h3>Does this plugin support WordPress Multisite?<\/h3><\/dt>\n<dd><p>Yes. When network activated, it provides a Network Admin panel for centralized control.<\/p><\/dd>\n<dt id=\"where%20are%20the%20network%20settings%3F\"><h3>Where are the Network settings?<\/h3><\/dt>\n<dd><p>Go to <strong>Network Admin \u2192 Settings \u2192 Monetize Me<\/strong>.<\/p><\/dd>\n<dt id=\"can%20i%20copy%20taxonomy%20terms%20between%20subsites%3F\"><h3>Can I copy taxonomy terms between subsites?<\/h3><\/dt>\n<dd><p>Yes. You can copy all terms of <code>adcategory<\/code> and <code>adsponsor<\/code> from one site to a selected subsite.<\/p><\/dd>\n<dt id=\"can%20i%20copy%20ad%20posts%20between%20subsites%3F\"><h3>Can I copy Ad posts between subsites?<\/h3><\/dt>\n<dd><p>Yes. Network Administrators can copy all posts of the <code>ad<\/code> custom post type from one source site to one or more selected destination subsites.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20an%20ad%20post%20already%20exists%20on%20the%20destination%20subsite%3F\"><h3>What happens if an Ad post already exists on the destination subsite?<\/h3><\/dt>\n<dd><p>Ad posts are matched by slug. If a destination subsite already has an <code>ad<\/code> post with the same slug, that post is skipped and is not overwritten.<\/p><\/dd>\n<dt id=\"are%20ad%20taxonomy%20relationships%20copied%20with%20the%20ad%20posts%3F\"><h3>Are Ad taxonomy relationships copied with the Ad posts?<\/h3><\/dt>\n<dd><p>Yes. Assigned <code>adcategory<\/code> and <code>adsponsor<\/code> terms are copied by slug and assigned to the copied Ad posts. Missing destination terms are created automatically.<\/p><\/dd>\n<dt id=\"are%20custom%20fields%20copied%20with%20the%20ad%20posts%3F\"><h3>Are custom fields copied with the Ad posts?<\/h3><\/dt>\n<dd><p>Yes. Custom fields are copied, except WordPress editor-only metadata such as <code>_edit_lock<\/code> and <code>_edit_last<\/code>.<\/p><\/dd>\n<dt id=\"who%20can%20access%20the%20network%20copy%20tools%3F\"><h3>Who can access the Network copy tools?<\/h3><\/dt>\n<dd><p>Only users with the <code>manage_network_options<\/code> capability, usually Network Administrators.<\/p><\/dd>\n<dt id=\"will%20existing%20terms%20or%20posts%20be%20overwritten%3F\"><h3>Will existing terms or posts be overwritten?<\/h3><\/dt>\n<dd><p>No. Existing destination terms and Ad posts with the same slug are skipped automatically.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>NEW: Added Network Admin tool to copy all <code>ad<\/code> CPT posts from one site to one or more selected destination subsites.<\/li>\n<li>NEW: Ad copy operation skips destination posts when the same <code>ad<\/code> slug already exists.<\/li>\n<li>NEW: Copied Ad posts preserve content, excerpt, status, menu order, custom fields, and assigned Monetize Me taxonomy terms.<\/li>\n<li>NEW: Missing destination <code>adcategory<\/code> and <code>adsponsor<\/code> terms are created automatically while copying Ads.<\/li>\n<li>SECURITY: Restricted Ad copy workflow to Network Administrators using nonce verification and <code>manage_network_options<\/code> checks.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>NEW: Network Admin settings page for Multisite environments.<\/li>\n<li>NEW: Copy taxonomy terms (<code>adcategory<\/code>, <code>adsponsor<\/code>) from a source site to selected subsites.<\/li>\n<li>NEW: Bulk subsite selection for term synchronization.<\/li>\n<li>IMPROVED: Duplicate detection using term slug (skip existing terms).<\/li>\n<li>IMPROVED: Operation summary showing copied, skipped, and failed counts.<\/li>\n<li>SECURITY: Restrict term synchronization tools to Network Admin only.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added a centralized Ad_Service class used by shortcode, widget, block, and renderer layers<\/li>\n<li>Added cache-aware ad queries with automatic cache purging on ad save, delete, and taxonomy changes<\/li>\n<li>Added public helper API functions: monetize_me_get_ad(), monetize_me_get_random_ads(), monetize_me_render_ad(), mm_get_ad(), mm_get_random_ad(), and mm_render_ad()<\/li>\n<li>Added internal filters and actions for query arguments and rendered output<\/li>\n<li>Preserved backward compatibility for existing shortcode, widget, block, and Renderer::render() usage<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>Major internal refactor for maintainability<\/li>\n<li>Added modern plugin bootstrap structure<\/li>\n<li>Removed runtime rewrite flushing<\/li>\n<li>Improved shortcode normalization and rendering<\/li>\n<li>Fixed widget slug handling bug<\/li>\n<li>Modernized block registration structure<\/li>\n<li>Added safer uninstall behavior<\/li>\n<li>Updated readme and repository packaging<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Revert back the ad sponsor taxonomy<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Recreated the plugin by removing legacy width and height taxonomies<\/li>\n<li>Added Ad Category taxonomy<\/li>\n<li>Added Gutenberg block support<\/li>\n<\/ul>","raw_excerpt":"A flexible advertisement management plugin with Multisite support, including centralized taxonomy and Ad post synchronization across subsites.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/72913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=72913"}],"author":[{"embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shahalom"}],"wp:attachment":[{"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=72913"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=72913"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=72913"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=72913"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=72913"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=72913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}