Title: badAd
Author: Jesse Steele
Published: <strong>2020 年 4 月 1 日</strong>
Last modified: 2023 年 8 月 20 日

---

搜索插件

![](https://ps.w.org/badad/assets/banner-772x250.jpg?rev=2276350)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/badad/assets/icon.svg?rev=2272356)

# badAd

 作者：[Jesse Steele](https://profiles.wordpress.org/jesselsteele/)

[下载](https://downloads.wordpress.org/plugin/badad.zip)

 * [详情](https://cn.wordpress.org/plugins/badad/#description)
 * [评价](https://cn.wordpress.org/plugins/badad/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/badad/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/badad/#developers)

 [支持](https://wordpress.org/support/plugin/badad/)

## 描述

The official plugin from badAd.one, this can help monetize your WordPress site by
embedding badAd advertisements with shortcodes.

Once connected, you can use two shortcodes:

 1. To embed ads for your badAd Partner account
 2. To embed a styled referral link for you and others to receive free ad credits, 
    also adding to your Partner click count

All the settings are on one page in your WordPress Dashboard with an easy walk-through.

This plugin is intended for badAd Partners, but it is easy to become one. Once you
are a badAd monetizing Partner, this is plugin connects your WordPress site to the
badAd “Dev API” mentioned in the [ help videos](https://badad.one/444/site.html).

badAd.one is an advertising network that started in early 2020.

Requires WordPress 5.3 and PHP 7 or newer.

## 屏幕截图

 * [[
 * What ads and your referral links look like on a website (inheriting the same 
   font)
 * [[
 * Various shortcodes used in Widgets
 * [[
 * Simple shortcode example inside a post
 * [[
 * Shortcode tips in the admin area once connected to the badAd.one website
 * [[
 * Admin area when just installed, input your badAd Dev API keys here
 * [[
 * After Dev keys added, two simple ways to connect a specific monetizing Partner
   project
 * [[
 * Some more advanced settings availabe once connected

## 安装

 1. Upload ‘badad’ to the ‘/wp-content/plugins/’ directory,
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## 常见问题

### Do I need a badAd.one account?

Yes. Signup is easy and there are help videos available at the [badAd Help](https://badad.one/help_videos.php)
page.

### Will this slow down my WordPress site?

In short: not as much.

Technically, everything you add to any website will slow it down. But, badAd takes
two steps to speed things up:

 1. Less is more: We minimize code, files, and things like database calls. We also 
    don’t mine information about visitors to your WordPress site. We just deliver the
    ads, short and simple.
 2. badAd uses text ads. These load faster than ads with pictures.

### Do these ads make my website look ugly?

They shouldn’t. Our text ads try their best to inherit the styling of your WordPress
theme, hopefully having some of the same fonts, etc.

We try to keep things organized and grouped so that badAd ads aren’t confused with
your WordPress site’s content, but still should fit nicely alongside your content.

### Does this work on multisite?

Yes, as of version 1.1 it works on multisite.

### It doesn’t say it is tested with the current version of WordPress. Will it still work?

Note this light-weight plugin easily endures WordPress updates, so it may not be
updated with each minor WP update. This is intended to cause less work on your back
end, but know that we are actively watching and testing this plugin!

## 评价

此插件暂无评价。

## 贡献者及开发者

「badAd」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jesse Steele ](https://profiles.wordpress.org/jesselsteele/)

[帮助将「badAd」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/badad)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/badad/)，查看[SVN仓库](https://plugins.svn.wordpress.org/badad/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/badad/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/badad/)。

## 更新日志

#### 1.2

 1. Support for multisite
 2. Shortcode defaults changed

– To settings more likely to be common

 1. Settings page improvements

– More shortcode examples and explanation
 – Styling is more readable – Some explanations
are more clearly worded – Layout is unchanged

 1. Streamlined database workflow for storing keys

– This is backend behavior which web users won’t notice
 – Reduces security risk–
Porting database to new web hosting or refreshing plugin installation should preserve
the API connection

 1. Developer notes

– Multisite: Callback files are prefixed with the site ID, seamlessly working with
both multisite and single sites
 – All keys and settings are stored in the database–
The only key stored in the file system is the current test/live public API key, 
cached in the “callback” subdirectory – Callback files are created automatically
when visiting the admin dashboard, which is the only time they are needed – Creating
callback files via `put_contents()` is less cost and databse size than creating 
a custom post type – Porting the database to a new cloud location should preserve
the API connection, whether or not the old plugin folder is ported also – Callback
files are cached in the “callback” subdirectory for API use, but they are largely
superflous to web host admins since they are only-always confirmed/created only-
always when they are needed – Visiting the admin dashboard will automatically confirm
and/or create the callback file, but the callback is only needed if making or checking
the API connection, which requires visiting the plugin settings page in admin dashboard
anyway. So, this is moot, but may be useful information for some developers. – Security
improvement: The callback file simply captures and redirects the API connection 
response to the admin dashboard, which guarantees more security and level permissions
checks so script kiddies have less room to mess

#### 1.2.1

 * Backend tweaks so both shortcodes render more similarly in HTML
 * Tested wtih WP 5.6.1

#### 1.2.2

 * Note this light-weight plugin easily endures WordPress updates, so it may not
   be updated with each minor WP update. This is intended to cause less work on 
   your back end, but know that we are actively watching and testing this plugin!
 * Tested wtih WP 5.8.3

#### 1.2.3

 * Tested wtih WP 6.3

## 额外信息

 *  版本 **1.2**
 *  最后更新：**3 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.3.2 或更高版本 **
 *  已测试的最高版本为 **6.3.0**
 *  PHP 版本 ** 7.2.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/badad/)
 * 标签
 * [ads](https://cn.wordpress.org/plugins/tags/ads/)[advertise](https://cn.wordpress.org/plugins/tags/advertise/)
   [embed](https://cn.wordpress.org/plugins/tags/embed/)[monetize](https://cn.wordpress.org/plugins/tags/monetize/)
 *  [高级视图](https://cn.wordpress.org/plugins/badad/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/badad/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/badad/reviews/)

## 贡献者

 *   [ Jesse Steele ](https://profiles.wordpress.org/jesselsteele/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/badad/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://jesse.coffee/paypal)