Show only IF not Google bot [closed]

This isn’t really a WordPress specific question. However, I recently wrote a function for this (and blocking other user agents). Perhaps you could use it, or some of it?: function is_a_bot(){ $is_bot = false; $user_agents = array( ‘GTmetrix’, ‘Googlebot’, ‘Bingbot’, ‘BingPreview’, ‘msnbot’, ‘slurp’, ‘Ask Jeeves/Teoma’, ‘Baidu’, ‘DuckDuckBot’, ‘AOLBuild’ ); $user_agent = $_SERVER[‘HTTP_USER_AGENT’]; foreach ( $user_agents … Read more

How to make WordPress audio playlist understand the direct links of audio files shared on google drive?

As you can see in comments section of my question, «birgire» had suggested to a user of his plugin to change the google drive direct link as follow so that It can be recognized an played in the WordPress playlist: A normal google drive direct link is something like this: https://drive.google.com/uc?export=download&id=0Bz4YdwRI3rnCMFRoTmtSS0M1VHM If you make sure … Read more

My WordPress Blog sends malicious traffic to other sites [closed]

Your website is infected by Malware. Hackers are using your WordPress website for ‘spamvertising.’ This causes an insane traffic spike. Spam emails are sent from your server with links to existing or new pages that are created by the hacker. Spamvertising can vandalize blogs, websites, forums, and comment sections with hyperlinks to get a higher … Read more

Is there a way to stop WP editor deleting

I would suggest a shortcode: function gcse_wpse_143459($atts,$content) { return ‘<gcse:searchbox-only></gcse:searchbox-only>’; } add_shortcode(‘gcse’,’gcse_wpse_143459′); Then use [gcse] instead of trying to paste in an oddball html-ish tag.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)