\n\n"); define("CREDIT_FOOT" , "\n\n\n"); //options function sdj_lnt_defaults() { update_option('sdj_lnt_options', array( 'lnt_location' => 'bottom', 'lnt_speed' => '3', 'lnt_breaking' => '1', 'lnt_author' => '1', 'lnt_date' => '1') ); } function sdj_lnt_scripts() { if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script ('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', false, '1.7.1'); wp_enqueue_script ('jquery'); wp_register_script ('webticker', plugins_url('jquery.webticker.js', __FILE__),false,'1.3'); wp_enqueue_script ('webticker'); wp_register_style ('basecss', plugins_url('themes/sdj_lnt_main.css', __FILE__), false); wp_enqueue_style ('basecss'); wp_register_style ('theme', plugins_url('themes/default.css', __FILE__), 'basecss'); wp_enqueue_style ('theme'); } } function sdj_lnt_build_ticker(){ $options = get_option('sdj_lnt_options'); switch($options['lnt_speed']){ case 1: $speed=0.015; break; case 2: $speed=0.025; break; case 3: $speed=0.05; break; case 4: $speed=0.1; break; case 5: $speed=0.15; break; } ?>
Check out Latest News Ticker Pro for WordPress for a ton of other features and an exclusive bargain launch price. Go there>>
If you'd like to say thanks for this amazing free plugin, you can always drop me a donation?
You can customise the features of this plugin with these few fields.
'; } function lnt_location() { $options = get_option('sdj_lnt_options'); ?> } function lnt_breaking_optin() { $options = get_option('sdj_lnt_options'); echo ''; } function lnt_speed_drop() { $options = get_option('sdj_lnt_options'); ?> } function lnt_authors_optin() { $options = get_option('sdj_lnt_options'); echo ''; } function lnt_date_optin() { $options = get_option('sdj_lnt_options'); echo ''; } ?>