Wordpress Plugin - AdMan II
AdMan II is a Wordpress Plugin for inserting ads right in the content of your posts.
It’s based on the original Adman plugin which I used for weeks. But I wasn’t entirely satisfied and I decided to improve it for my usage. Since other people might find it useful as well, I thought it will be nice to make it public.
What’s different about this version of AdMan plugin?
- I fixed a small bug on finding position to insert the text / ad - which might result in a layout mess
- I fixed a small bug - you couldn’t change the ad code back to blank
- I added blockquote tag and removed pre tag on position search algorithm
- I changed the starting point of text / ad to be closer to the start of the post - not right in the middle as original one
- Best improvement: If you don’t want to have text / ad inserted into a specific post by AdMan II, you can specify this in your post - just use the comment
<!-- noadman -->anywhere in your post.
Download: AdMan II WordPress Plugin
Installation: Just download the above link and unzip it in your wp-content/plugins. Go to the Wordpress back-office and activate the plugin. Don’t forget to visit Options / AdMan II in your admin panel.
Usage
First go to Options / AdMan II and setup your text / ad code - adsense for example.
Then you can use this plugin in two ways:
- Auto - You don’t have to do anything else because AdMan II will make sure that this ad code will appear in your posts, without disturbing your post layout. It will look for the end of tags and determine the best place.
- Manual - You can specify in your post where the ads should appear. Just use the comment
<!-- adman -->and AdMan II will replace every occurrence of it with your specified ad. Or if you don’t want to have text / ad inserted into a specific post by AdMan II, you can specify this in your post - just use the comment<!-- noadman -->anywhere in your post.
That’s it - if you need any help let me know.
Enjoy!
Tags:blog , PHP , plugin , programming stuff , wordpressPopularity: 33% [?]

(2 votes, average: 4.5 out of 5)




I like how you can put ads in a post manually. I have a lot of posts where I just want a photo or some youtube video. An automatic ad would just destroy the layout… Now I know how to sprinke ad words through out a site. I won’t overuse it though. Nice job.