{"id":2399,"date":"2008-10-16T11:39:07","date_gmt":"2008-10-16T18:39:07","guid":{"rendered":"http:\/\/lee.org\/blog\/?p=2399"},"modified":"2008-10-16T11:39:35","modified_gmt":"2008-10-16T18:39:35","slug":"installed-no-adverts-for-friends","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2008\/10\/16\/installed-no-adverts-for-friends\/","title":{"rendered":"Installed No Adverts for Friends"},"content":{"rendered":"<p>I installed the <a href=\"http:\/\/ocaoimh.ie\/no-adverts-for-friends\/\">No Adverts for Friends plugin<\/a>. It is specifically compatible with the <a href=\"http:\/\/ocaoimh.ie\/wp-super-cache\/\">WP Super Cache<\/a> plugin which has <a href=\"http:\/\/lee.org\/blog\/2008\/09\/22\/stumbled-upon\/\">worked very well<\/a>.<\/p>\n<p>With this plugin, if you have posted a comment on my blog, it&#8217;ll remember you and you won&#8217;t have to see the banner ads that I put at the bottom of every post.<\/p>\n<p>I just downloaded and installed the <a href=\"http:\/\/ocaoimh.ie\/no-adverts-for-friends\/\">No Adverts for Friends<\/a> plugin (1 file). Then put this in my comments.php:<\/p>\n<p><code>&lt;?php if (function_exists('is_regular_user')) { ?&gt;<br \/>\n&lt;?php if( is_regular_user() == false ) {  \u00a0?&gt;<br \/>\n&lt;center&gt;<br \/>\nMy Google ad here<br \/>\n&lt;\/center&gt;<br \/>\n&lt;?php } ?&gt;<br \/>\n&lt;?php } ?&gt;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I installed the No Adverts for Friends plugin. It is specifically compatible with the WP Super Cache plugin which has worked very well. With this plugin, if you have posted a comment on my blog, it&#8217;ll remember you and you won&#8217;t have to see the banner ads that I put at the bottom of every [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2399","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/2399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=2399"}],"version-history":[{"count":1,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/2399\/revisions"}],"predecessor-version":[{"id":2400,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/2399\/revisions\/2400"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=2399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=2399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=2399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}