This is plugin for WordPress from 2.0 to 2.1 version. It will show your attachments (best for Images) in new page rounded with ads. This great way to earn some money and show large images in new window. This plugin show attachments with thumbnail image, and when you click on it will show image in full size. You can setup plugin not to show image in full size if you want.
Attachment page CSS and Layout adjustment
You can adjust Attachment page layout, with changing yourTheme/attachment/attach_style.css file. You can change colors, div position, widths etc. Also you can add wordpress function into yourTheme/attachment/thumbnail.php and large_image.php, if you like to show recent posts list or last comments into Attachment page. In future i could add this feature into this plugin.
- Copy plugins/adsense_attachment_page.php into your blog plugin directory
- Copy yourTheme/attachment.php to your current theme folder (if you have attachment.php already rewrite it with this one)
- Copy whole yourTheme/attachment folder into current theme folder too
- Activate the plugin
- Go into Option -> AdSense Attachment Page, fill ads boxes with ads code and adjust setup options
AdSense Attachment Page example:
Using this plugin
If you insert image into post with “Linked to Page” option, image will link to attachment page with ads, otherwise this plugin will not take efect on your attachment images.
More about Image and File Attachments in WordPress.
AdSense Attachment Plugin v 0.1 download page.
This plugin will approximatively show 5% of (only) adsense ads with this plugin authors ID. From one hundred adsense ads, just 5 of them will be with my ID. In return i will give to you support, and i will update and develop this wordpress plugin permanently. Also you are welcome to leave comments and suggestions.
I try in the past serveral adsense Plugins out. Your Plugin in is a really good one.
Great work – go on!
I would love to try this for my drawing blog, but I just can’t get it to work. Is it compatible with WP 2.1.2.?
Thank your for your time and your contribution to the WP community. Much appreciated!
I need help with the plugin, will it not work with wordpress 2.21? I keep getting an error when i try to use it. Any help would be appreciated, email me back if you can, thanks.
thank you for your work. i love it!
Your plugin sounds good. i’ll try it later. thanks
Adsense Attachment WordPress Plugin dont work on my blog
Nice plugin, it’s perfect! AdSense is great, but lately I’ve been making more with WidgetBucks. In fact, I’ve been earning almost twice as much with WidgetBucks compared to AdSense. Plus, the ads are optimized for WordPress, Blogger, and even TypePad. Check out this WidgetBucks review for some more info.
for some reason it won’t work for me, and I get an error:
do you have any suggestions?
Warning: getimagesize(2009/07/Buddha.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/b/u/d/buddhabadboy/html/william/wp-content/themes/OrangeSky/attachment/thumbnail.php on line 21
Warning: Division by zero in /home/content/b/u/d/buddhabadboy/html/william/wp-content/themes/OrangeSky/attachment/thumbnail.php on line 22
Warning: Division by zero in /home/content/b/u/d/buddhabadboy/html/william/wp-includes/post-template.php on line 1049