"wd_ads", "wd_plugin_id" => 167, "plugin_wd_zip_name" => "ad-manager-wd.zip", // to do "plugin_title" => "Ad Manager Wd", "plugin_wordpress_slug" => "ad-manager-wd", "plugin_dir" => WD_ADS_DIR, "plugin_url" => WD_ADS_URL, "plugin_main_file" => __FILE__, "wd_plugin_name_personal" => "Ad Manager WD Personal (WordPress)", "wd_plugin_name_business" => "Ad Manager WD Business (WordPress)", "wd_plugin_name_developer" => "Ad Manager WD Developer (WordPress)", "description" => __( 'Thinking of ways to monetize your WordPress website with ads? Now you can do it without any difficulty. Ad Manager WD plugin is the easiest way to place banner ads on your WordPress website.', 'wd_ads' ), "addons" => '', "plugin_features" => array( 0 => array( "title" => __( "Simple Set-up & Management", "wd_ads" ), "description" => __( "Ad Manager WD is easy to install and manage. Create ads by simply adding advertisement codes in HTML, CSS, Javascript or advertisement code, such as Google AdSense. Display ads on your website sidebar with the help of the widget.", "wd_ads" ), ), 1 => array( "title" => __( "Ad Groups", "wd_ads" ), "description" => __( "Easily manage all your ads by creating ad groups. Set margins, alignment and placement for each ad group. Choose to display ads in groups in Dynamic or Block modes.", "wd_ads" ), ), 2 => array( "title" => __( "Geo Targeting", "wd_ads" ), "description" => __( "Control what ads site visitors from different locations see. The wordpress ad manager allows to selecting a city, state or country to display ads based on geo location.", "wd_ads" ), ), 3 => array( "title" => __( "Placement Device Targeting", "wd_ads" ), "description" => __( "Choose what device types you want each ad to be displayed on. You can choose to show ads on just desktops, smartphones or tablets and all devices. Enable responsive support for ads shown on mobile devices.", "wd_ads" ), ), 4 => array( "title" => __( "Ad Scheduling", "wd_ads" ), "description" => __( "The plugin comes with Ad Scheduling options that allow you to set-up ad rotation and display ads in specific time frames. Set start and end dates, show ads on certain days of week and at certain times, define maximum click and impression number per ad.", "wd_ads" ), ), 5 => array( "title" => __( "Statistics Tracking", "wd_ads" ), "description" => __( "Track ad performance and measure ad effectiveness with Internal Tracker or integrate tracking with Piwik Analytics or Google Analytics. Keep track of clicks, impressions and more.", "wd_ads" ), ), 6 => array( "title" => __( "User Role Management", "wd_ads" ), "description" => __( "Ad Manager WD WordPress plugin allows to set-up publish, edit, delete, schedule and other permissions based on user roles.", "wd_ads" ), ), 7 => array( "title" => __( "User Role Management", "wd_ads" ), "description" => __( "Ad Manager WD plugin allows you to export ads from one website and easily import them to another one. Export and import all your ads with a few clicks and avoid the hassle of setting up the same ads for several websites.", "wd_ads" ), ), ), "user_guide" => array( 0 => array( "main_title" => __( "Installation", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/installation.html", "titles" => array() ), 1 => array( "main_title" => __( "Introduction", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/introduction.html", "titles" => array() ), 2 => array( "main_title" => __( "Creating an advertisement", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement.html", "titles" => array( array( "title" => __( "New Advert", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/new-advert.html", ), array( "title" => __( "Advanced", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/advanced.html", ), array( "title" => __( "Geo Targeting", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/geo-targeting.html", ), array( "title" => __( "Publishing", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/publishing.html", ), array( "title" => __( "Choose Schedules", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/choose-schedules.html", ), array( "title" => __( "Wrapper Code", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/wrapper-code.html", ), array( "title" => __( "Advertiser", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/creating-advertisement/advertiser.html", ), ) ), 3 => array( "main_title" => __( "Managing All Adverts", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/managing-adverts.html", "titles" => array(), ), 4 => array( "main_title" => __( "Groups", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/groups.html", "titles" => array() ), 5 => array( "main_title" => __( "Schedules", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/schedules.html", "titles" => array() ), 6 => array( "main_title" => __( "Settings", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/settings.html", "titles" => array( array( "title" => __( "General", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/settings/general.html", ), array( "title" => __( "Statistics", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/settings/statistics.html", ), array( "title" => __( "Geo targeting", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/settings/geo-targeting.html", ), array( "title" => __( "Advertisement and Schedule Roles", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/settings/advert-schedule-roles.html", ), ) ), 7 => array( "main_title" => __( "Import", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/import.html", "titles" => array() ), 8 => array( "main_title" => __( "Publishing as a Widget", "wd_ads" ), "url" => "https://web-dorado.com/ad-manager-wd/publishing.html", "titles" => array() ), ), "plugin_wd_url" => "https://web-dorado.com/products/wordpress-ad-manager-wd.html", "plugin_wd_forum_link" => "https://wordpress.org/support/plugin/ad-manager-wd", "after_subscribe" => "overview_wd_ads", "after_subscribe" => "edit.php?post_type=wd_ads_ads&page=overview_wd_ads", // this can be plagin overview page or set up page "plugin_wizard_link" => null, "plugin_menu_title" => "Ad Manager WD", "plugin_menu_icon" => WD_ADS_URL . '/images/icons/Ad-manager-icon.png', "deactivate" => true, "subscribe" => true, "custom_post" => 'edit.php?post_type=wd_ads_ads', // if true => edit.php?post_type=contact "menu_position" => '27,11', ) ); } if (!function_exists('wd_bp_install_notice')) { $wd_bp_plugin_url = WD_ADS_URL; function wd_bp_script_style() { global $wd_bp_plugin_url; wp_enqueue_script('wd_bck_install', $wd_bp_plugin_url . '/js/wd_bp_install.js', array('jquery')); wp_enqueue_style('wd_bck_install', $wd_bp_plugin_url . '/css/wd_bp_install.css'); } add_action('admin_enqueue_scripts', 'wd_bp_script_style'); /** * Show notice to install backup plugin */ function wd_bp_install_notice() { global $wd_bp_plugin_url; $prefix = 'wd_ads'; $meta_value = get_option('wds_bk_notice_status'); if ($meta_value === '' || $meta_value === false) { ob_start(); ?>