Hello xrundel1
Here is your solution ??
First deinstall the Plugin from your WordPress, then download the plugin again and follow my instructions.
Step one: Rename the Folder from adrotate to rotate.
Step two: Rename the File jquery.adrotate.clicktracker.js (in the Folder adrotate\library ) to clicktracker.js
Step Three: Rename the File jquery.adrotate.dyngroup.js (in the Folder adrotate\library ) to dyngroup.js
Step Four: Rename the File jquery.adrotate.responsive.js (in the Folder adrotate\library ) to responsive.js
Step Five: Open the File adrotate.php and
Find
define("ADROTATE_DB_VERSION", 51);
After ad
define("ADROTATE_FOLDER", 'rotate');
Find
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-setup.php');
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-manage-publisher.php');
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-functions.php');
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-statistics.php');
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-export.php');
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-output.php');
include_once(WP_CONTENT_DIR.'/plugins/adrotate/adrotate-widget.php');
Replace with
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-setup.php');
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-manage-publisher.php');
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-functions.php');
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-statistics.php');
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-export.php');
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-output.php');
include_once(WP_CONTENT_DIR.'/plugins/rotate/adrotate-widget.php');
Step Six:
Open the File adrotate-output.php
Find
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/jquery.adrotate.dyngroup.js', __FILE__), false, null, $in_footer);
if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/jquery.adrotate.responsive.js', __FILE__), false, null, $in_footer);
// Make clicktracking and impression tracking a possibility
if($adrotate_config['stats'] == 1){
wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/jquery.adrotate.clicktracker.js', __FILE__), false, null, $in_footer);
Replace with
if(get_option('adrotate_dynamic_required') > 0) wp_enqueue_script('jshowoff-adrotate', plugins_url('/library/dyngroup.js', __FILE__), false, null, $in_footer);
if(get_option('adrotate_responsive_required') > 0) wp_enqueue_script('responsive-adrotate', plugins_url('/library/responsive.js', __FILE__), false, null, $in_footer);
// Make clicktracking and impression tracking a possibility
if($adrotate_config['stats'] == 1){
wp_enqueue_script('clicktrack-adrotate', plugins_url('/library/clicktracker.js', __FILE__), false, null, $in_footer);
Find
$output = "\n<!-- This site is using AdRotate v".ADROTATE_DISPLAY." to display their advertisements - https://ajdg.solutions/products/adrotate-for-wordpress/ -->\n";
Replace with
/* $output = "\n<!-- This site is using AdRotate v".ADROTATE_DISPLAY." to display their advertisements - https://ajdg.solutions/products/adrotate-for-wordpress/ -->\n"; */
Step Seven: Upload the ‘rotate’ folder to the ‘/wp-content/plugins/’ directory.
Activate the plugin through the ‘Plugins’ menu in WordPress.
best regards: R.F.