This plugin is compatible with google adsense policies. You can also use it with any other ad network. Author: Ahsan Sana Author URI: http://www.ahsan.pk Plugin URI: http://www.ahsan.pk/2011/05/wp-plugin-adsense-float/ */ /* Copyright 2011 ahsan.pk This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* Version check */ global $wp_version; $exit_msg='Adsense Float requires WordPress 2.8 or newer. Please update!'; if (version_compare($wp_version,"2.8","<")) { exit ($exit_msg); } add_action('admin_menu', 'adsense_float_menu'); function adsense_float_menu() { add_options_page('Adsense Float Settings', 'Adsense Float', 'manage_options', 'adsense-float', 'adsense_float_options_page'); //call register settings function add_action( 'admin_init', 'adsense_float_admin_init' ); function adsense_float_admin_init() { //register our settings register_setting( 'adsense_float_options', 'adsense_float_plugin_options'); } function adsense_float_options_page() { ?>
Powered by Adsense Float
"; echo "