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.
This is now a built in feature from version 2.0.10
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?