/*
Plugin Name: Newstastic Vertical and Horizontal Post Slider
Plugin URI: http://www.moduswebsupport.com
Description: This little widget will display your posts from all or selected categories in a horizonal or vertical format, you can select a few options on what you'd like to show and set the width, height etc. This is a first release so we welcome feedback. If you'd like us to customise it for your site, let us know. TIP! Images not working? On some servers you may need to reset the permissions of the cache folder, if that doesn't work, take a look at the /inc/timthumb-config.php file, add the correct path there and uncomment;)
Version: 1.2.1
Author: David Henry
Author URI: http://www.modus.ie
*/
add_action('init', 'ns_add_script_fn');
function ns_add_script_fn(){
$config = get_option('ds_config');
if(!is_admin()){
// Jquery slider
wp_enqueue_script('j_tools_js', plugins_url('/js/scroller.js', __FILE__ ), array( 'jquery' ), '1.0' ) ;
// main JS and CSS
wp_enqueue_script('main_js', plugins_url('/js/front.js', __FILE__ ), array( 'jquery' ), '1.0' ) ;
wp_enqueue_style('main_css', plugins_url('/css/front.css', __FILE__ ) );
//wp_enqueue_style('join_css', plugins_url('/css/join.css', __FILE__ ) );
}else{
wp_enqueue_script('ds_admin_js', plugins_url('/js/admin.js', __FILE__ ), array( 'jquery' ), '1.0' ) ;
wp_enqueue_style('ds_admin_css', plugins_url('/css/admin.css', __FILE__ ) );
}
}
add_shortcode('show_slider', 'show_slider');
function show_slider(){
$config = get_option('ds_config');
?>
Optima Saver, an innovative solution by Improlabs, is a highly efficient bandwidth usage optimization service. It can reduce bandwidth usage upto 80%. It is very easy to install and has a nice web based interface to manage all the operations. As a result of increased efficiency in bandwidth utilization, better performance can be ensured with much lower costs.