. */ function add_cursor_trail(){ $ct_data = get_option('cursor_trail_options'); if( date('Y-m-d', current_time('timestamp')) == '2011-02-14'){ $ct_data['pointer'] = WP_PLUGIN_URL.'/cursor-trail/valentines.png'; } if( !empty($ct_data['start']) && current_time('timestamp') <= strtotime($ct_data['start']) ){ return; } if( !empty($ct_data['end']) && current_time('timestamp') >= strtotime($ct_data['end']) ){ return; } ?> WP_PLUGIN_URL.'/cursor-trail/pointer.png', 'speed' => 900 ); add_option('cursor_trail_options', $ct_data); } register_activation_hook( __FILE__,'cursor_trail_activate'); class CursorTrailAdmin{ // action function for above hook function CursorTrailAdmin() { global $user_level; add_action ( 'admin_menu', array (&$this, 'menus') ); } function menus(){ $page = add_options_page('Cursor Trail', 'Cursor Trail', 'manage_options', 'cursor-trail', array(&$this,'options')); add_action('admin_head-'.$page, array(&$this,'options_head')); } function options_head(){ ?> $postValue){ if( substr($postKey, 0, 3) == 'ct_' ){ //For now, no validation, since this is in admin area. if($postValue != ''){ $ct_data[substr($postKey, 3)] = $postValue; } } } update_option('cursor_trail_options', $ct_data); ?>

Cursor Trail

Donations

Plugins don't grow on trees. Please remember that this plugin is provided to you free of charge, yet it takes many hours of work to maintain and improve!

Plugin Information

This plugin was developed by Marcus Sykes @ NetWebLogic

Please visit our forum for plugin support.

If you have any suggestions, come over to our plugin page and leave a comment. It may just happen!

' class='wide' />
' class='wide' />
' class='wide' />
' class='wide' />