/*
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');
?>
Improlabs provides you state-of-art solutions which help you offer best quality service with a reduced budget.
Communication Solutions
Improlabs providers Communication solutions for communication service providers. Our state-of-art solutions helps them utilize the best potentials of the market and grow their business.
Optimizing IP World
Optima Saver can optimize your bandwidth usage upto 80%. Enjoy high performance communication using Optima Saver.