An open API service indexing awesome lists of open source software.

https://github.com/herm71/blackbird-adsense-two

a copy of the Blackbird AdSense plugin. Removes ads from post content, leaves the widget.
https://github.com/herm71/blackbird-adsense-two

Last synced: 21 days ago
JSON representation

a copy of the Blackbird AdSense plugin. Removes ads from post content, leaves the widget.

Awesome Lists containing this project

README

          

# Synopsis

This plugin adds your [Google AdSense](https://www.google.com/adsense/) ads to your [WordPress](http://www.wordpress.org) website. This plugin was developed with the help of the [EnvatoTuts+](http://tutsplus.com/) tutorial, [Making the Best of Google AdSense in WordPress](http://code.tutsplus.com/tutorials/making-the-best-of-google-adsense-in-wordpress--wp-29938)

As the tutorial explains, this plugin modifies the WordPress User Profile. It adds additional fields to the User Profile in which you can paste your Google AdSense Unit code for both the **300x250** ad size and the **468x60** ad size.

Once the code is pasted into a User Profile, the plugin will automatically add 468x60 ads after the **second** and **fourth** paragraphs in a blog post.

The plugin also creates a Widget, which you can add to a side-bar, that you can use to include side-bar ads into your site. The best size to use for the widget is a 300x250 ad.

Please remember, Google AdSense only allows **three** AdSense ads per page. Therefore, with the automatic inclusion of the ads in the blogpost, the Widget should only be used once.

# Motivation

Motivation for developing this plugin is two-fold. **First**, it was an excuse to hone my WordPress development skills by developing a plugin that includes a widget. **Second**, I maintain multiple WordPress websites; therefore, I wanted an easy way to include Google AdSense ads into all of them. A plugin seemed to fit the bill.

# Installation

1. Download the Blackbird AdSense plugin zip file (blackbird-adsense-plugin.zip).
2. In your WordPress Dashboard, navigate to **Plugins**.
3. Click the **Add New** button at the top of the page.
4. Click the **Upload Plugin** button at the top of the screen.
5. Click **Choose File**
5. Navigate to the **blackbird-adsense-plugin.zip** file you downloaded from [GitHub](https://www.github.com) and click **open**, then click **Install Now**.
6. Once the plugin is installed, click **Activate Plugin**.
7. After the plugin is installed, navigate to **Users** in the dashboard and find your WordPress user profile. You will find a new profile section titled, "Your Google Adsense Ads." You will find two new fields, one for the **300x250** ad size and one for the **468x60** ad size.
8. Paste the proper Google AdSense code in the appropriate field.
9. Profit.

# Contributors

This plugin was created entirely by [Jason Chafin](http://www.jasonchafin.com), founder and president of [Blackbird Consulting](http://www.blackbirdconsult.com).

**Twitter:** @BlackbirdConsul

# License

[Creative Commons 1.0 Universal](LICENSE)

# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 0.3.2 - 2016-01-24
### Changed
- Edits to Readme

### Added
- Instructions in User Profile field that describe how Responsive Ads can also be added.

## 0.3.1 - 2016-01-24
### Changed
- Edits to Readme

## 0.3.0 - 2016-01-24
### Changed
- Incremental changelog to test [github-updater](https://github.com/afragen/github-updater.git)

## 0.0.4 - 2016-01-24
### Added
- Incorporated header info into ``` plugin.php ``` to include [github-updater](https://github.com/afragen/github-updater.git) update information.

## 0.0.3 - 2016-01-24
### Added
- added front page and blog post conditional tags.

## 0.0.2 - 2016-01-24
### Added
- Incorporated header info into ``` plugin.php ``` to include [github-updater](https://github.com/afragen/github-updater.git) update information.

## 0.0.1 - 2016-01-22
### Added
- Initial Commit
- Developed plugin

## Changelog Template

## 0.0.0 - 2016-01-22
### Added
- Initial Commit
- Developed plugin

### Changed
- Initial Commit
- Developed plugin

### Fixed
- Initial Commit
- Developed plugin

### Removed
- Initial Commit
- Developed plugin