EZ广告 is a clever program to serve your ads to multiple web sites. It can work as standalone web application or as a WordPress plugin. Using EZ广告, you can centralize your banner ads in one location, and use simple shortcodes to place them on your blog pages, or generate invocation codes to place them on any other web sites or blogs. 在Pro版本, you can even serve HTML ads with the same shortcode and invocation code mechanism.

该插件的此更新是最后一个公开发布的版本. 我们不希望做任何重大变化,或从现在开始添加新的功能,它.

我们可能并不总是能为这个插件的WordPress.org论坛提供及时的支持. 如果你想有专业的支持或额外/自定义功能, 考虑购买 Pro版.

Do you have multiple websites which you monetize using advertising? 如果是这样的, this personal ad server may be the right tool for you. EZ广告 makes it easy for you to set up an optimized ad server that can service your websites. 针对简单, Ads EZ does away with all the complicated zone and expiry settings. All you have to do is to collect your banners in a folder, upload them and specify their targets using a simple and intuitive interface.

Live Demo

Ads EZ admin interface is feature-rich, user-friendly and functional. Please visit this fully operational live demo site to see what it can do for you.

Now available in your language using Google Translate.


  • Fully Automated Setup: EZ广告 gets you started within two minutes, 而不是几小时或几天.
  • Modern Admin Interface: EZ广告 sports a modern and beautiful admin interface based on the twitter bootstrap framework. Fully responsive, with editable tables to set up and modify your ads.
  • Admin Interface Tour: A slick tour will take you around the admin page and familiarize you with its features.
  • Generous Help for Admin: 当你需要帮助, 信息和提示只是一个点击即可在 EZ广告. (事实上, 它只是一个鼠标悬停的路程。)
  • No Coding Required: EZ广告 is written for creative people who have some ads in the form of banners or ad codes. 所以它不要求任何深度计算知识. The most you will have to do is perhaps to cut and paste some ad code.
  • Batch Processing: EZ广告 makes it a cinch to get your existing banners into your database through an intuitive batch processing.
  • Memory Caching: EZ广告 uses memory caching where available so that the database access is minimized. Caching can tremendously improve performance of busy sites.
  • Robust Security: Unbreakable authentication (using hash and salt), impervious to SQL injection etc.
  • Data Validation: Client-side and server-side data validation to minimize data errors.

EZ广告 is available as a freely distributed lite version and a Pro版, which adds a ton of extra features.


如果以下功能对您很重要, 考虑购买 版本.

  • Cache Visualization and Management: You can see detailed cache statics in the 版本, and options to set the cache expiry, and to manually clear it, 如果需要,.
  • CDN Support: Put your static files, such as your banners, on a Content Delivery Network (CDN) for improved performance.
  • In-Browser Banner Uploads: 该 version lets you upload multiple banners (through drag and drop) and enter their meta data. In the lite version, you would manually upload the banners to your server and run a batch to do it.
  • Statistics and Charts: 该 version can optionally collect statistics about your ad serving and present you with detailed performance reports and charts, including geolocation.
  • Category Management: 在 版本, you can have as many ad categories as you want. The lite version comes with three categories, and adding more would require direct database manipulation.
  • HTML Ads: 该 version allows you to store and serve HTML and JavaScript ads such as AdSense and other providers. The lite version is limited to banner ads.
  • OpenX Replacement: Ads EZ is designed to be drop-in replacement for OpenX. 在 , you can generate the .htaccess directives that will make your Ads EZ app act like your OpenX server to the world.


The easiest way to install this plugin is to use the WordPress Admin interface. Go to your admin dashboard, find the "插件" menu, and click on "Add New". Find this plugin and click on "Install Now" and follow the WordPress instructions.

If you want to download it and manually install, you can again use the WordPress dashboard interface. First download the plugin zip file to your local computer. Then go to your admin dashboard, find the "插件" menu, and click on "Add New". After clicking on the "Add New" menu item as above, click on "Upload" (below the title "Install Plugins" near the top). Browse for your downloaded zip file, upload it and activate the plugin.

Further updates (and Pro upgrades and module installations) to the plugin can be done easily from the plugin admin page itself, by clicking on the Updates button on the top right corner.

Standalone Mode

  1. Upload the contents of the archive ads-ez to your server.
  2. Browse to the admin location of your uploaded the package (http://yourserver/ads-ez/admin, 例如) using your web browser.
  3. Enter the DB details and set up and Admin account in a couple of minutes and you are done with the installation!

Note that in the second step, your web server will try to create a configuration file where you uploaded the ads-ez 包. If it cannot do that because of permission issues, you will have to create an empty file dbCfg.php and make it writeable. Don't worry, the setup will prompt you for it with detailed instructions.

To get started with Ad Serving

  1. Upload your banners to the banners folder on your server and hit the Batch Process menu item to provide banner data.
  2. Get the invocation codes and place them on your websites to start serving ads.
  3. Take a tour to learn the program features.


  1. Dashboard, showing the beautifully designed admin interface.  Screenshot [ads-ez] 1
  2. Tour and Help, to quickly get started with Ads EZ.  Screenshot [ads-ez] 2
  3. Admin interface elements.  Screenshot [ads-ez] 3
  4. Listing your banners.  Screenshot [ads-ez] 4
  5. Generating invocation codes.  Screenshot [ads-ez] 5
  6. 配置optons, showing help.  Screenshot [ads-ez] 6
  7. Editing categories.  Screenshot [ads-ez] 7
  8. 管理员页游样品屏, showing a dark theme.  Screenshot [ads-ez] 8
  9. Ad serving statistics and charts in the Pro version.  Screenshot [ads-ez] 9
  10. Advanced tools and Cache management in the Pro version.  Screenshot [ads-ez] 10
  11. OpenX/Revive replacement tools in the Pro version.  Screenshot [ads-ez] 11
  12. Drag-and-drop banners upload in the Pro version.  Screenshot [ads-ez] 12



  • V3.20: Compatibility with WP4.8. Sunset edition. [八月 1, 2017]
  • V3.10: 与WP4.6兼容性. 积累了许多修正和变化. 释放夕阳版本. [十月 12, 2016]
  • V3.00: Compatibility with WP4.5. [四月 12, 2016]
  • V2.99: Improvements in the Google Translator interface. 与子类型的多站点安装兼容性. [二月 27, 2016]
  • V2.98: Minor interface and documentation changes. [二月 25, 2016]
  • V2.97: Changes in the DB interface to handle the case where native drivers are not installed. Restricting Google Translate not to translate user-editable strings. Optimizing screenshots. [二月 7, 2016]
  • V2.95: Adding diagnostic information on the update page. [一月 20, 2015]
  • V2.94: Changes to make the plugin compatible with multisite installations. Cookie-based long login option for standalone mode. Using APCu, if available. Other minor fixes. [一月 14, 2016]
  • V2.93: Minor fixes in standalone mode. [一月 1, 2016]
  • V2.92: Adding a dev-friendly include to introduce local settings, 如果有的话. Minor fixes in table rendering. [十二月 30, 2015]
  • V2.91: Refactoring changes in admin footer rendering. [十二月 15, 2015]
  • V2.90: Compatibility with WordPress 4.4. [十二月 5, 2015]
  • V2.84: Making the admin menu dynamic (optionally) in standalone mode. Improving DB layer error handling. [十一月 29, 2015]
  • V2.83: Warning about PHP V5.4 requirement on the admin page. [十一月 8, 2015]
  • V2.82: Enforcing PHP V5.4 requirement at activation time. [十月 26, 2015]
  • V2.80: Admin pages in your language using Google translation. [十月 22, 2015]
  • V2.73: Updating screenshots. [十月 20, 2015]
  • V2.72: Improving the speed of admin page loading. [九月 30, 2015]
  • V2.71: Killing the option to allow update checks. [九月 26, 2015]
  • V2.70: Changes to make the plugin work on nginx and Microsoft servers. [九月 20, 2015]
  • V2.64: 小bug修复. [九月 17, 2015]
  • V2.63: Ensuring usability on touch-screen devices. Removing an unused class and file. [九月 17, 2015]
  • V2.62: Reinstating the option to force the admin page loading, moving to a less colorful default theme. [九月 14, 2015]
  • V2.61: Fixing some refactoring errors related to the plugin end points. [九月 13, 2015]
  • V2.60: Adding better error handling on invalid requests, adding a link to the plugin admin page on WP plugins page, adding the ability to rerun the installer. [九月 12, 2015]
  • V2.51: Fixing a bug in the shortcode implementation. [九月 8, 2015]
  • V2.50: Removing WP core file loading and refactoring header and menus. [九月 4, 2015]
  • V2.43: More refactoring and cleanup changes. [八月 31, 2015]
  • V2.42: Code clean up and fixing some W3 validation errors. [八月 23, 2015]
  • V2.41: Fixing a minor error. [八月 21, 2015]
  • V2.40: Major refactoring of options handling, common functions etc. Compatibility with WP4.3. [八月 10, 2015]
  • V2.31: Refactoring setup modules. [八月 5, 2015]
  • V2.30: Implementing redirect to previous page upon login. Preparing for major refactoring. [圣诞节 25, 2015]
  • V2.26: Tightening login security in standalone mode and hardening banners upload. [圣诞节 2, 2015]
  • V2.25: Minor changes in documentation. [Jun 25, 2015]
  • V2.24: Bug fix in the stats module. [Jun 15, 2015]
  • V2.23: Bug修复. [Jun 5, 2015]
  • V2.22: Minor changes in the admin page. [Jun 4, 2015]
  • V2.21: Admin page compatibility checks and improvements. [五月 12, 2015]
  • V2.20: Compatibility with WordPress 4.2. [四月 25, 2015]
  • V2.15: Misc. bug fixes. [四月 23, 2-15]
  • V2.14: Adding strip_slashes to html ads. [四月 22, 2015]
  • V2.13: Improvements in the admin dashboard. [四月 15, 2015]
  • V2.12: Improvements in the admin dashboard. [四月 14, 2015]
  • V2.11: Launching a demo site. [四月 11, 2015]
  • V2.10: More changes in the compatibility check. [四月 7, 2015]
  • V2.09: Fixing a style that may have caused the admin page not to appear on some blogs. [四月 4, 2015]
  • V2.08: More compatibility checks. [四月 2, 2015]
  • V2.07: Corrections to upload folder protection and HTML ads editing. [海 31, 2015]
  • V2.06: Fixing a bug in banners batch processing, improving the charting module for more accurate display, and other minor changes. [海 27, 2015]
  • V2.05: Adding error handling for updates. [海 24, 2015]
  • V2.04: Compatibility check on the plugin admin page. [海 20, 2015]
  • V2.03: Improvements in the login check functions. [海 9, 2015]
  • V2.02: Code cleanup. [海 7, 2015]
  • V2.01: Fixing some bugs specific to the plugin version. [海 6, 2015]
  • V2.00: Adding WordPress plugin version. [一月 2, 2015]
  • V1.80: Major improvements to statistics and charting in the Pro version. [十二月 7, 2014]
  • V1.71: Fixing the tour to handle accordion menus. [十一月 14, 2014]
  • V1.70: Accordion menu implementation for a cleaner interface. [十一月 13, 2014]
  • V1.61: Misc bug fixes. [十一月 11, 2014]
  • V1.60: Sortable and paginated tables using dataTables. [十一月 11, 2014]
  • V1.51: More misc cleanup and validation checks. [十一月 10, 2014]
  • V1.50: Numerous misc changes. Ads EZ Pro is now feature-complete. [十一月 8, 2014]
  • V1.40: Implemented stats, geolocation and charts. [十一月 6, 2014]
  • V1.30: Implemented OpenX/Revive integration in the Pro version. [十一月 4, 2014]
  • V1.20: Implemented new category creation in the Pro version. [十一月 1, 2014]
  • V1.10: Implemented batch upload of banners and HTML Ads in the Pro version. [十月 31, 2014]
  • V1.00: Initial Public Release. [十月 29, 2014]


Why another Ad Server?

I looked around for a light-weight ad serving solution for my own requirements, and could not find any. So I wrote one myself, as an exercise to learn bootstrap and other fancy modern web technology. I think you will like the result.

Why would I want to replace my OpenX server?

好, I did, which is why I wrote this package. OpenX is a large application, and consequently quite demanding both in terms of the effort needed to maintain it, and on system resources. It may not be appropriate for small scale, personal ad serving, which needs to be simple and quick. If you have only a couple of hunded banners and don't plan on charging for your ads, EZ广告 可能是您正确的解决方案. 说了这么多, I will develop a paid advertising module for EZ广告 if there is enough demand for it.

Why do I get error message saying something about direct access to plugin files?

This plugin admin interface is designed with a loosely coupled architecture, which means it interacts with the WordPress core only for certain essential services (login check, plugin activation status, database access etc). Loosely coupled systems tend to be more robust and flexible than tightly integrated ones because they make fewer assumptions about each other. My plugin admin pages are fairly independent, and do not pollute the global scope or leak the style directives or JavaScript functions. In order to achieve this, they are loaded in iFrames within the WordPress admin interface.

Your web server needs direct access to the plugin files to load anything in an iFrame. Some aggressive security settings block this kind of access, usually through an .htaccess file in your wp-contentplugins folders, which is why this plugin gives a corresponding error message if it detects inability to access the files (checked through a file_get_contents call on a plugin file URL). But some systems implement further blocks specifically on file_get_contents or on iFrames with specific styles (运用 mod_securty rules, 例如), which is why the plugin provides a means to override this auto-detection and force the admin page.

Is the direct access to plugin files a security hole?

Note that it is only your own webserver that needs direct access to the PHP files. The reason for preventing such access is that a hacker might be able to upload a malicious PHP (or other executable script) to your web host, which your webserver will run if asked to. Such a concern is valid only on systems where you explicitly permit unchecked file uploads. 例如, if anyone can upload any file to your media folder, and your media folder is not protected against direct access and script execution, you have given the potential hacker an attack vector.

In this plugin, its media/banner upload folder has a multiple layers protection: 1. Only users logged in as admin can ever see the upload interface. 2. The upload script accepts only media file types. 3. The backend AJAX handler also checks for safe file types. 4. The media storage locations are protected against script execution.

So allowing your webserver to serve the plugin admin files in an iFrame is completely safe, in my judgement.

Digital Goods

ezPayPalPlease visit our e-shop selling all sorts of digital goods -- 高级WordPress的插件, PHP packages, Mac Apps, eBooks etc. It runs on my own ezPayPal package, which you can purchase if you would like to start a similar e-commerce gateway. 做检查出来!
另请参见:  Other packages
如果你喜欢我的插件的努力, 请使用以下的Facebook登录发表评论.
如果您需要帮助, 请使用我们的 支持门户 代替.  ezSupport Portal
[自豪地给你带来 EZ 朋友.]