get_option('adpop_website_id'), 'adpop_exclude' => $exclude ); return $options; } function adpop_get_script(){ if(!get_option('adpop_enable')){ return false; } //get plugin options $options = adpop_get_options(); $script = ''; $script .= ''; echo $script; } // Let's create the options menu // create custom plugin settings menu add_action('admin_menu', 'adpop_create_menu'); function adpop_create_menu() { //create new top-level menu add_options_page('AdPop Settings', 'AdPop Settings', 'administrator', __FILE__, 'adpop_settings_page', '', __FILE__); //call register settings function add_action( 'admin_init', 'adpop_register_mysettings' ); } function adpop_register_mysettings() { //register our settings register_setting( 'adpop-settings-group', 'adpop_enable' ); register_setting( 'adpop-settings-group', 'adpop_website_id' ); register_setting( 'adpop-settings-group', 'adpop_exclude' ); } function adpop_settings_page() { ?>

AdPop for WordPress

Enable Plugin value="1" name="adpop_enable"/>
AdPop Website ID
Visit this page and look for the website id to find the Website ID
Exclude these domains
Please specify domains which won't be converted to AdPop links here.
Separated by comma i.e google.com,wikipedia.org,yahoo.com

Feedback, bug report, and suggestions are greatly appreciated. Please submit any question to AdPop support.