PPP Add Disclosure

PayPerPost Add Disclosure Plugin


The most recent iteration of PayPerPost requires that bloggers add a piece of code to the header of their website. This is invisible to users, yet allows advertisers to do fancy things with their posts. If you don’t want to mess around with your template code, here is a plugin that will do it for you (and keep doing it even if you change your template)


1. Download the plugin file, unzip and place it in your plugin folder.
This makes the plugin available to WordPress and it should now appear in your Plugin page.

2. Activate the plugin
This “starts up” the plugin, making it available to your presentation files (you know, the ones that make up your theme). At this point, the plugin is active, and the disclosure code should be appearing on your page

3. You’re done!
That’s all that needs to be done!




v0.1: Base release.

v2.0: PayPerPost’s latest release uses the same badge code for all users, which greatly simplifies the plugin. The code also now lives in the page footer, eliminating any perf problems putting it in the header may cause.

Websites using this plugin

I love it when people use my work, so I thought I’d add a list of links to websites using this plugin. If you’re not on the list, just add a comment and I’ll add you in!


  1. Hi Owen,

    Thank you very much for creating this plug-in. I have installed it and it’s working wonderfully.

    At first I thought it did not work but the problem was with PPP’s delay in updating my dashboard.

    This plug-in saved me the trouble of figuring where to place my code since I could not even find on my theme file.

    Thank you!

  2. Yup, can confirm it works, but you’ll need to update the “code” that PayPerPost give you. The good thing is that if you have multiple sites, now your “code” is identical on all of them.

  3. Ok…i edit the plugin in the plugin editor replace the badge with the bade PPP gave me. But why i still couldn’t see the badge? in my “website”? give me a reply ok? Thanks

  4. @Mark: The plugin doesn’t actually add a “badge” to your website. Just a piece of code that the badge uses. If you view the source of your page you should see it at the bottom of the HTML

  5. Ok…so how could i add the badge to the bottom of my post since PPP required my post to include the badge code required? Thanks for you prompt reply anyway 😀

  6. Ah, that’s different. When PPP want you to add the disclosure badge, they will give you the code in the Op (same as when you need to insert an image).

    The code displays under your post (like this post: http://www.cutajar.net/owen/?p=150) for example, but only works if you have the Badge Code installed.

    So, in effect, this plugin just provides the prerequisite to get these posts, noting more.

  7. Ok…i see the post you gave me. What happened is i was given an badge code for the post. I think it’s the grey thing in that post. How could i insert it? I have activate the plugin, but i edit it in plugin editor the code in between “badge code start” and Badge code end” with the code PPP give me. Though, it’s not showing at all in my wordpress. Am i on the right track?

  8. Hey I love this plug in its awesome. I just added to my site. thanks for the add. I will add a blurb about this on my blog and link back to here. Thanks a bunch again@!

  9. In case u see me on yr MyBlogLog, I am lurking here to get your PPP disclosure plugin cos my new template with the uprgaded WP 2.2 gives me two red Xs (on two blogs) eventhough I had added it correctly. Now, I am trying the plugin to see if it will work. Thanks Owen!

  10. Owen,

    Thanks for the plug-in.

    Anything that makes life easier gets a big thumbs up, and this certainly fits the bill!

    Excellent work!


  11. I’ve added it to my wordpress blog and so far it seems to be doing absolutely nothing.

    I put it in …wp-content/plugins and I went to the “plugins” page of the control panel and activated it, but when I reload my blog and ‘view source’ in firefix, there’s no sign of the disclosure badge.

    What have I missed?

  12. Hey, thank you so much for making this plugin! It works… like a piece of cake. Thanks again, so grateful. 🙂

  13. I just installed the plugin.. It looks like this: I’m not sure if it’s working. I checked my PPP account still red X.

    [b]function ppp_add_disclosure_badge() {

    echo (‘‘);
    echo (”);
    echo (‘‘);

    add_action(‘wp_footer’, ‘ppp_add_disclosure_badge’);

  14. I’m having such a hard time gettin the badge to work in my newest blog. I tried adding it by hand and then came here for the Plugin. Still a red x over at PPP. Any input?

  15. Remember it can take up to 48 hours for PayPerPost to notice your badge is up there. You just have to be a bit patient.

  16. Thanks Owen. I’ve been having trouble getting my badge to work. This plugin is a life saver. Or a blog saver : D

  17. Im going to use this Owen, Im having trouble to get the badge to work in my template. Will I overdo it if I do it manually and activate your plugin?

  18. Hi Owen!
    Thank you for this plugin, ‘downloaded and activated it already on my site. Just waiting for it to appear.

    have a nice day!

  19. Hey Owen, need a little help. I’ve been given a new code for the stats testing. Looks like the only thing that’s changed is the tinurl but I’m having trouble finding it to replace it. Any suggestions?

  20. Hi Jade,

    If you go to your “Plugins” page and click the “Edit button” for the plugin (right next to the “Activate”), you can see the TinyURL and figure out where to change the code.



  21. Hello Owen,

    Thanks for this plugin. Made it really easy to install PPP tools.

    But i have a question, if i deactivate the plugin, does it mean that the code wont be working anymore?

    I am asking because i want to be out of google’s radar this coming PR update. 😀

  22. @Vienna; Yup, if you deactivate it, it won’t show the code any more. I don’t know if it will change anything from Google’s perspective, but deactivating the plugin means that the PPP code won’t be added to your blog.

  23. Alright Owen, I’m back again. I’ve changed templates and it appears this template doesn’t have any footer coding. Is there something I can pop in there to get my disclosure back up and running?

  24. Owen,

    This sounds wonderful…but PPP is still not reading my code. I even upgraded to 2.5. Could it have anything to do with domain masking?

    Please help.


  25. I need some help with my blog regarding on placing PPP tool…

    i have a question,… whats a plug-in foldeR?

    i am lost..

    can anyone help?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.