Plugin Author
Arnan
(@adegans)
No need to get upset. You can simply click the close button in the top-right.
Thank you for Version 3.10.12 – just FYI – there was no visible “close” button in firefox and chrome, therefore frustration. And I’m really sorry for being rude.
Here is some other hints. Your plugin add few things into header, so it readable in source:
<!– This site is using AdRotate v3.10.10 to display their advertisements – https://www.adrotateplugin.com/ –>
<!– AdRotate CSS –>
– these two words “advertisements” and “AdRotate” – trigger Adblock.
Why not use instead .css in plugin with <link rel=”stylesheet” href=””> in header? Or even better, use it only on pages that have adrotate ads.
For example I have no ads for registered users, but header still load code that has no need on user’s pages.
Plugin Author
Arnan
(@adegans)
Looks fine to me in every browser 😉
The CSS shown there is generated dynamically so for now it can’t be moved into a .css file. If those 2 words trigger Adblock, then any mention of ‘advertisements’ will do too, so I doubt that’s the case 😉
There are plenty of sites where Adblock or Adblock plus does not catch ads with the AdRotate CSS in the header.
However, when I figure out a better way to insert that CSS then that’s certainly something to explore… I’m always looking to improve AdRotate 🙂
Adrotate 3.13.1 does not have “close” button for that annoying message at the top, so to remove it i did removed
in adrotate-output.php and that did the job for me…
those lines should looks something like this:
if($review_banner != 1 AND $review_banner < (adrotate_now() - 2419200) AND strpos($page, 'adrotate') !== false) {
echo '<div class="updated" style="padding: 0; margin: 0; border-left: none;">';
echo ' <div class="adrotate_banner">';
echo ' <div class="button_div"><a class="button" target="_blank" href="https://ww.wp.xz.cn/support/view/plugin-reviews/adrotate?rate=5#postform">Rate AdRotate</a></div>';
echo ' <div class="text">If you like <strong>AdRotate</strong> please let the world know that you do. Thanks for your support!<br /><span>If you have questions, suggestions or something else that doesn\'t belong in a review, please <a href="https://ajdg.solutions/forums/forum/adrotate-for-wordpress/?pk_campaign=adrotatefree-reviewbanner" target="_blank">get in touch</a>!</span></div>';
echo ' <a class="close_banner" href="admin.php?page=adrotate&hide=2"><img title="Close" src="'.plugins_url('images/icon-close.png', __FILE__).'" alt=""/></a>';
echo ' <div class="icon"><img title="" src="'.plugins_url('images/adrotate-logo-60x60.png', __FILE__).'" alt=""/></div>';
echo ' </div>';
echo '</div>';
}
exactly like this in that version that i provided
P.S. most probably on update, you will have to do this again 🙂