{"id":882,"date":"2009-05-05T11:31:35","date_gmt":"2009-05-05T11:31:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-insert\/"},"modified":"2026-07-30T22:30:58","modified_gmt":"2026-07-30T22:30:58","slug":"wp-insert","status":"publish","type":"plugin","link":"https:\/\/da.wordpress.org\/plugins\/wp-insert\/","author":2668262,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.6.0","stable_tag":"2.6.0","tested":"7.0.4","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"Wp-Insert","header_author":"namithjawahar","header_description":"","assets_banners_color":"f6c3c3","last_updated":"2026-07-30 22:30:58","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wpinsert.smartlogix.co.in\/support\/","header_plugin_uri":"https:\/\/wpinsert.smartlogix.co.in\/","header_author_uri":"http:\/\/www.smartlogix.co.in\/","rating":4.5,"author_block_rating":0,"active_installs":9000,"downloads":769262,"num_ratings":143,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"namith.jawahar","date":"2009-05-05 11:38:18"},"1.1":{"tag":"1.1","author":"namith.jawahar","date":"2009-05-08 19:59:28"},"1.2":{"tag":"1.2","author":"namith.jawahar","date":"2009-05-22 19:24:02"},"1.2.1":{"tag":"1.2.1","author":"namith.jawahar","date":"2009-05-23 13:06:06"},"1.2.2":{"tag":"1.2.2","author":"namith.jawahar","date":"2009-06-13 12:21:15"},"1.3.0":{"tag":"1.3.0","author":"namith.jawahar","date":"2009-09-11 14:47:48"},"1.3.1":{"tag":"1.3.1","author":"namith.jawahar","date":"2009-09-11 15:02:29"},"1.3.3":{"tag":"1.3.3","author":"namith.jawahar","date":"2009-10-21 16:15:41"},"1.4":{"tag":"1.4","author":"namith.jawahar","date":"2009-11-22 19:01:48"},"1.5.0":{"tag":"1.5.0","author":"namith.jawahar","date":"2009-11-22 19:36:12"},"1.5.1":{"tag":"1.5.1","author":"namith.jawahar","date":"2009-12-02 17:40:57"},"1.5.2":{"tag":"1.5.2","author":"namith.jawahar","date":"2009-12-19 04:00:16"},"1.5.3":{"tag":"1.5.3","author":"namith.jawahar","date":"2009-12-19 11:54:06"},"1.6.0":{"tag":"1.6.0","author":"namith.jawahar","date":"2009-12-28 20:12:23"},"1.6.1":{"tag":"1.6.1","author":"namith.jawahar","date":"2010-01-22 10:42:19"},"1.6.2":{"tag":"1.6.2","author":"namith.jawahar","date":"2010-04-10 15:10:42"},"1.7":{"tag":"1.7","author":"namith.jawahar","date":"2010-05-30 19:41:44"},"1.7.1":{"tag":"1.7.1","author":"namith.jawahar","date":"2010-06-18 04:14:42"},"1.7.2":{"tag":"1.7.2","author":"namith.jawahar","date":"2010-08-23 14:59:17"},"1.7.3":{"tag":"1.7.3","author":"namith.jawahar","date":"2010-12-04 10:46:35"},"1.7.4":{"tag":"1.7.4","author":"namith.jawahar","date":"2011-07-05 04:33:03"},"1.7.5":{"tag":"1.7.5","author":"namith.jawahar","date":"2012-04-12 04:36:22"},"1.7.6":{"tag":"1.7.6","author":"namith.jawahar","date":"2012-04-12 04:43:36"},"2.0":{"tag":"2.0","author":"namith.jawahar","date":"2012-10-03 04:10:24"},"2.0.1":{"tag":"2.0.1","author":"namith.jawahar","date":"2012-10-03 05:10:05"},"2.0.10":{"tag":"2.0.10","author":"namith.jawahar","date":"2014-08-30 12:24:59"},"2.0.11":{"tag":"2.0.11","author":"namith.jawahar","date":"2014-09-13 02:45:02"},"2.0.12":{"tag":"2.0.12","author":"namith.jawahar","date":"2014-09-13 03:38:10"},"2.0.14":{"tag":"2.0.14","author":"namith.jawahar","date":"2015-02-09 18:16:53"},"2.0.15":{"tag":"2.0.15","author":"namith.jawahar","date":"2015-02-16 07:07:38"},"2.0.16":{"tag":"2.0.16","author":"namith.jawahar","date":"2015-03-02 06:16:32"},"2.0.2":{"tag":"2.0.2","author":"namith.jawahar","date":"2012-10-05 09:54:44"},"2.0.3":{"tag":"2.0.3","author":"namith.jawahar","date":"2012-11-11 20:30:37"},"2.0.4":{"tag":"2.0.4","author":"namith.jawahar","date":"2013-03-23 16:51:15"},"2.0.5":{"tag":"2.0.5","author":"namith.jawahar","date":"2013-04-23 07:52:15"},"2.0.6":{"tag":"2.0.6","author":"namith.jawahar","date":"2013-04-23 12:09:49"},"2.0.7":{"tag":"2.0.7","author":"namith.jawahar","date":"2013-09-01 07:47:33"},"2.0.8":{"tag":"2.0.8","author":"namith.jawahar","date":"2013-12-14 04:56:28"},"2.0.9":{"tag":"2.0.9","author":"namith.jawahar","date":"2014-01-02 04:05:54"},"2.1":{"tag":"2.1","author":"namith.jawahar","date":"2015-10-19 18:18:04"},"2.1.1":{"tag":"2.1.1","author":"namith.jawahar","date":"2015-10-21 05:04:21"},"2.1.2":{"tag":"2.1.2","author":"namith.jawahar","date":"2015-11-11 19:56:51"},"2.1.3":{"tag":"2.1.3","author":"namith.jawahar","date":"2015-12-11 21:40:22"},"2.1.4":{"tag":"2.1.4","author":"namith.jawahar","date":"2015-12-25 18:56:36"},"2.1.5":{"tag":"2.1.5","author":"namith.jawahar","date":"2016-10-31 07:45:59"},"2.1.6":{"tag":"2.1.6","author":"namith.jawahar","date":"2017-03-10 08:30:07"},"2.1.7":{"tag":"2.1.7","author":"namith.jawahar","date":"2017-09-04 10:28:45"},"2.1.8":{"tag":"2.1.8","author":"namith.jawahar","date":"2017-09-21 10:19:47"},"2.2":{"tag":"2.2","author":"namith.jawahar","date":"2017-10-31 12:56:13"},"2.3":{"tag":"2.3","author":"namith.jawahar","date":"2017-12-19 19:06:53"},"2.4":{"tag":"2.4","author":"namith.jawahar","date":"2018-02-27 16:19:14"},"2.4.1":{"tag":"2.4.1","author":"namith.jawahar","date":"2018-03-14 11:03:34"},"2.4.2":{"tag":"2.4.2","author":"namith.jawahar","date":"2018-05-24 14:08:58"},"2.4.3":{"tag":"2.4.3","author":"namith.jawahar","date":"2018-10-27 09:50:16"},"2.4.4":{"tag":"2.4.4","author":"namith.jawahar","date":"2018-11-05 05:50:32"},"2.4.5":{"tag":"2.4.5","author":"namith.jawahar","date":"2019-05-13 04:27:17"},"2.4.6":{"tag":"2.4.6","author":"namith.jawahar","date":"2019-06-22 18:56:44"},"2.4.7":{"tag":"2.4.7","author":"namith.jawahar","date":"2019-07-28 15:35:03"},"2.4.8":{"tag":"2.4.8","author":"namith.jawahar","date":"2021-01-22 15:05:42"},"2.5.0":{"tag":"2.5.0","author":"namith.jawahar","date":"2022-05-30 15:40:34"},"2.5.1":{"tag":"2.5.1","author":"namith.jawahar","date":"2023-02-08 15:23:34"},"2.6.0":{"tag":"2.6.0","author":"namith.jawahar","date":"2026-07-30 22:30:58"}},"upgrade_notice":{"2.6.0":"<p>Compatibility, security and coding standards release. Your existing ad units,\nad code and settings carry over unchanged.<\/p>"},"ratings":{"1":12,"2":2,"3":3,"4":15,"5":111},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3629160,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3629160,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3629160,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"wp-insert\/wp-insert-gutenberg":{"name":"wp-insert\/wp-insert-gutenberg","title":"Wp-Insert Ad Unit"}},"tagged_versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.3.0","1.3.1","1.3.3","1.4","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","2.0","2.0.1","2.0.10","2.0.11","2.0.12","2.0.14","2.0.15","2.0.16","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.2","2.3","2.4","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.5.0","2.5.1","2.6.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3629160,"resolution":"1","location":"assets","locale":"","width":1902,"height":1616},"screenshot-10.png":{"filename":"screenshot-10.png","revision":3629160,"resolution":"10","location":"assets","locale":"","width":1586,"height":831},"screenshot-11.png":{"filename":"screenshot-11.png","revision":3629160,"resolution":"11","location":"assets","locale":"","width":1574,"height":568},"screenshot-12.png":{"filename":"screenshot-12.png","revision":3629160,"resolution":"12","location":"assets","locale":"","width":1562,"height":558},"screenshot-13.png":{"filename":"screenshot-13.png","revision":3629160,"resolution":"13","location":"assets","locale":"","width":1568,"height":572},"screenshot-14.png":{"filename":"screenshot-14.png","revision":3629160,"resolution":"14","location":"assets","locale":"","width":1586,"height":583},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3629160,"resolution":"2","location":"assets","locale":"","width":1563,"height":795},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3629160,"resolution":"3","location":"assets","locale":"","width":1568,"height":837},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3629160,"resolution":"4","location":"assets","locale":"","width":1474,"height":2037},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3629160,"resolution":"5","location":"assets","locale":"","width":1586,"height":826},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3629160,"resolution":"6","location":"assets","locale":"","width":1584,"height":861},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3629160,"resolution":"7","location":"assets","locale":"","width":1591,"height":713},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3629160,"resolution":"8","location":"assets","locale":"","width":554,"height":476},"screenshot-9.png":{"filename":"screenshot-9.png","revision":3629160,"resolution":"9","location":"assets","locale":"","width":1582,"height":856}},"screenshots":{"1":"The unified plugin admin page.","2":"Rules system controlling when and where your ads are shown.","3":"Geo-target different ads to audiences from specific countries.","4":"Pre-prepared legal page templates to serve as a starting point.","5":"Insert ads directly into your theme for advanced ad placement.","6":"Multiple ad networks \/ A-B testing.","7":"Google Analytics integration.","8":"Embed codes in the header \/ footer.","9":"Ad widgets which support the rules system."}},"plugin_section":[],"plugin_tags":[2730,2635,148428,148,61477],"plugin_category":[35,36],"plugin_contributors":[206907],"plugin_business_model":[],"class_list":["post-882","plugin","type-plugin","status-publish","hentry","plugin_tags-ad-management","plugin_tags-ad-rotation","plugin_tags-ads-txt","plugin_tags-adsense","plugin_tags-tracking-codes","plugin_category-advertising","plugin_category-analytics","plugin_contributors-namithjawahar","plugin_committers-namithjawahar"],"banners":{"banner":"https:\/\/ps.w.org\/wp-insert\/assets\/banner-772x250.jpg?rev=3629160","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-insert\/assets\/icon-128x128.png?rev=3629160","icon_2x":"https:\/\/ps.w.org\/wp-insert\/assets\/icon-256x256.png?rev=3629160","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-1.png?rev=3629160","caption":"The unified plugin admin page."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-2.png?rev=3629160","caption":"Rules system controlling when and where your ads are shown."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-3.png?rev=3629160","caption":"Geo-target different ads to audiences from specific countries."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-4.png?rev=3629160","caption":"Pre-prepared legal page templates to serve as a starting point."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-5.png?rev=3629160","caption":"Insert ads directly into your theme for advanced ad placement."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-6.png?rev=3629160","caption":"Multiple ad networks \/ A-B testing."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-7.png?rev=3629160","caption":"Google Analytics integration."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-8.png?rev=3629160","caption":"Embed codes in the header \/ footer."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-9.png?rev=3629160","caption":"Ad widgets which support the rules system."},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-10.png?rev=3629160","caption":""},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-11.png?rev=3629160","caption":""},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-12.png?rev=3629160","caption":""},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-13.png?rev=3629160","caption":""},{"src":"https:\/\/ps.w.org\/wp-insert\/assets\/screenshot-14.png?rev=3629160","caption":""}],"raw_content":"<!--section=description-->\n<p>Wp-Insert is a powerful yet easy to use ad management \/ ad insertion plugin which\ndoes a lot more than ad management and insertion. Ad code from any network \u2014\nAdSense, iframes, JavaScript snippets or plain HTML \u2014 is inserted exactly as you\nprovide it.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Adsense optimised, with support for Auto Ads \/ Page-Level ads<\/li>\n<li>Unlimited ad blocks, with no artificial restrictions<\/li>\n<li>Insert ads above, below, to the left, to the right, or in the middle of post content with intelligent midpoint detection<\/li>\n<li>Insert ads after a chosen number of paragraphs, counting from the top or the bottom<\/li>\n<li>Insert ads into sidebars using ad widgets<\/li>\n<li>Insert ads into post content using shortcodes<\/li>\n<li>Insert ads directly into theme files, with the rules system still applied<\/li>\n<li>Gutenberg blocks for manual ad placement<\/li>\n<li>GUI driven rules system controlling when and where ads appear<\/li>\n<li>Exclude ads from specific posts, pages, categories, archives, search and 404 pages<\/li>\n<li>Hide ads for logged-in users or for mobile visitors<\/li>\n<li>Per-device targeting and styling for large desktop, medium desktop, tablet and mobile<\/li>\n<li>A\/B testing across up to three ad networks, so only one network's ads appear at a time<\/li>\n<li>Country specific ad placement using a bundled, offline IP-to-country database<\/li>\n<li>Insert Google Analytics, Facebook Pixel or any other tracking code into the header or footer<\/li>\n<li>Supports shortcodes from other plugins inside ad blocks<\/li>\n<li>Authorized Digital Sellers (ads.txt) management with daily AdSense publisher-ID monitoring<\/li>\n<li>Legal page templates (Privacy Policy, Terms &amp; Conditions, Disclaimer, Copyright) to kick-start your legal pages<\/li>\n<li>Compatible with the AMP plugin by Automattic and WooCommerce aware<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin does not send visitor data to any external service.<\/p>\n\n<p>Country based ad targeting is resolved locally using an IP-to-country database\nbundled with the plugin, so no visitor IP address leaves your server. Earlier\nversions of Wp-Insert used the third-party freegeoip.net \/ ipstack APIs for this\nfeature; that is no longer the case.<\/p>\n\n<p>Ad code that you add through the plugin may itself load resources from your ad\nnetwork (for example Google AdSense). Those requests are made by the ad code you\nsupply, are governed by that network's own privacy policy, and are entirely under\nyour control.<\/p>\n\n<!--section=installation-->\n<h4>In WordPress<\/h4>\n\n<ul>\n<li>Go in your Dashboard to 'Plugins' -&gt; 'Add New'<\/li>\n<li>Search for 'Wp-Insert'<\/li>\n<li>Click on 'Install Now'<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Open the 'Wp Insert' page from the admin menu<\/li>\n<\/ul>\n\n<h4>Manually<\/h4>\n\n<ul>\n<li>Download the plugin<\/li>\n<li>Go in your Dashboard to 'Plugins' -&gt; 'Add New'<\/li>\n<li>Click on 'Upload Plugin'<\/li>\n<li>Choose the downloaded zip file and click 'Install Now'<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Open the 'Wp Insert' page from the admin menu<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"will%20my%20existing%20ad%20code%20keep%20working%20after%20updating%3F\"><h3>Will my existing ad code keep working after updating?<\/h3><\/dt>\n<dd><p>Yes. Ad code is stored and rendered exactly as you entered it, and the plugin ships\nan automated test suite that verifies iframes, JavaScript snippets, AdSense code,\nplain HTML and shortcodes all render byte-for-byte identically across every\nplacement type.<\/p><\/dd>\n<dt id=\"who%20can%20add%20or%20edit%20ad%20code%3F\"><h3>Who can add or edit ad code?<\/h3><\/dt>\n<dd><p>Only users with the <code>manage_options<\/code> capability (administrators on a single site).\nUsers who do not additionally have the <code>unfiltered_html<\/code> capability have their\ninput filtered through <code>wp_kses_post()<\/code> before it is saved.<\/p><\/dd>\n<dt id=\"where%20can%20i%20get%20support%3F\"><h3>Where can I get support?<\/h3><\/dt>\n<dd><p>Visit the <a href=\"https:\/\/wpinsert.smartlogix.co.in\/support\/\">Wp-Insert support site<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.6.0<\/h4>\n\n<ul>\n<li>Modernisation release. Existing ad code and settings are preserved; no\nreconfiguration is required.<\/li>\n<li>Added an automated test suite covering ad-code rendering fidelity (iframes,\nJavaScript, AdSense, HTML, shortcodes) across every placement type, so updates\ncannot silently change how your ads are output.<\/li>\n<li>Fixed a fatal error on PHP 8 when a second geo-targeting country group was\nconfigured.<\/li>\n<li>Fixed numerous PHP 8.x warnings across the ad rendering path, including for ad\nunits created by older versions of the plugin.<\/li>\n<li>Security: added capability checks to every admin AJAX endpoint, restricted ad\ndata saving to known ad unit types, added nonce verification to the ads.txt\nAdSense reset action, and removed debug output from the ad save routine.<\/li>\n<li>Security: escaped all admin-side output, including the Google Analytics tracker\nID which was previously written unescaped into an inline script.<\/li>\n<li>The jQuery UI stylesheet is now bundled with the plugin instead of being loaded\nfrom an external CDN.<\/li>\n<li>Country targeting no longer contacts a third-party geolocation API; lookups are\nresolved from a local database.<\/li>\n<li>Removed unused video intelligence and Google API modules that were shipped but\nnever loaded.<\/li>\n<li>Removed the third-party ad network promotion from the ad code screen. The\nplugin no longer advertises any external service in the admin.<\/li>\n<li>The full codebase now passes the WordPress Coding Standards with no errors or\nwarnings.<\/li>\n<\/ul>\n\n<h4>2.5.1<\/h4>\n\n<ul>\n<li>Plugin header and coding standards updates.<\/li>\n<\/ul>","raw_excerpt":"The Ultimate Adsense \/ Ad-Management Plugin for WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=882"}],"author":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/namithjawahar"}],"wp:attachment":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=882"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=882"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=882"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=882"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=882"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}