Viewing 6 replies - 1 through 6 (of 6 total)
  • Un Mo

    (@salomonamiga)

    i have the same problem

    any ideas ?

    BBerryBlog.com

    Un Mo

    (@salomonamiga)

    i just found a solution, in case you need it

    go to the file wp-insert.php

    find this lines (at the end of the code)

    if(!defined('WP_INSERT_URL'))
    	define('WP_INSERT_URL',plugins_url().'/wp-insert');
    if(!defined('WP_INSERT_DIR'))
    	define('WP_INSERT_DIR',WP_PLUGIN_DIR.'/wp-insert');
    if(!defined('WP_INSERT_VERSION'))
    	define('WP_INSERT_VERSION', '2.0.8');
    /*Includes*/
    require_once (dirname(__FILE__).'/includes/includes.php');
    ?>

    and edit to :

    if (!wp_is_mobile()) {
    if(!defined('WP_INSERT_URL'))
    	define('WP_INSERT_URL',plugins_url().'/wp-insert');
    if(!defined('WP_INSERT_DIR'))
    	define('WP_INSERT_DIR',WP_PLUGIN_DIR.'/wp-insert');
    if(!defined('WP_INSERT_VERSION'))
    	define('WP_INSERT_VERSION', '2.0.8');
    /*Includes*/
    require_once (dirname(__FILE__).'/includes/includes.php');
     }
     ?>

    anyways i hope the developer can add it to the excellent plugin

    Best !

    Hi @salomon Amiga that did the trick ?? well done for sharing.

    Thank you kindly.

    Plugin Author Namith Jawahar

    (@namithjawahar)

    This is now a built in feature from version 2.0.10

    vijayp4you

    (@vijayp4you)

    IN MOBILE VERSION HOW TO SHOW OTHER GOOGLE AD CODE

    What about the opposite of this? I’d love to show ads only on mobile and not on the desktop version. Is there any way to edit the code above to do that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide Ads on Mobile Browser’ is closed to new replies.