<?php

/* run shortcodes in text widgets */
add_filter('widget_text', 'do_shortcode');

	/**
	* @Filter default skins/styles for the plugin
	*/
	add_filter('wp_superlike_builtin_styles', 'wp_superlike_builtin_styles');
	function wp_superlike_builtin_styles($array=array()) {

		$array['default'] = array(
			'slug' => 'default',
			'name' => __('Default','wp_superlike'),
			'button_bg_color' => '#f5f5f5',
			'button_bg_color2' => '#f5f5f5',
			'button_bg_color_hover' => '#f5f5f5',
			'button_bg_color_hover2' => '#f5f5f5',
			'button_text_color' => '#555',
			'button_border_color' => '#ddd',
			'button_border_color_hover' => '#bbb',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);

		$array['orange'] = array(
			'slug' => 'orange',
			'name' => __('Orange','wp_superlike'),
			'button_bg_color' => '#fb2900',
			'button_bg_color2' => '#ff5000',
			'button_bg_color_hover' => '#ff6400',
			'button_bg_color_hover2' => '#ff5800',
			'button_text_color' => '#fff',
			'button_border_color' => '#ff4000',
			'button_border_color_hover' => '#ff5000',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['aqua'] = array(
			'slug' => 'aqua',
			'name' => __('Aqua','wp_superlike'),
			'button_bg_color' => '#12a4be',
			'button_bg_color2' => '#02849b',
			'button_bg_color_hover' => '#1bb0cb',
			'button_bg_color_hover2' => '#05a2be',
			'button_text_color' => '#fff',
			'button_border_color' => '#05a2be',
			'button_border_color_hover' => '#05a2be',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['black'] = array(
			'slug' => 'black',
			'name' => __('Black','wp_superlike'),
			'button_bg_color' => '#555',
			'button_bg_color2' => '#333',
			'button_bg_color_hover' => '#666',
			'button_bg_color_hover2' => '#444',
			'button_text_color' => '#fff',
			'button_border_color' => '#555',
			'button_border_color_hover' => '#555',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['facebook'] = array(
			'slug' => 'facebook',
			'name' => __('Facebook Style','wp_superlike'),
			'button_bg_color' => '#dfe5fb',
			'button_bg_color2' => '#dfe5fb',
			'button_bg_color_hover' => '#dfe5fb',
			'button_bg_color_hover2' => '#dfe5fb',
			'button_text_color' => '#0b4c8e',
			'button_border_color' => '#bdcede',
			'button_border_color_hover' => '#a0bad3',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['silver'] = array(
			'slug' => 'silver',
			'name' => __('Silver','wp_superlike'),
			'button_bg_color' => '#f9f9f9',
			'button_bg_color2' => '#eee',
			'button_bg_color_hover' => '#eee',
			'button_bg_color_hover2' => '#f5f5f5',
			'button_text_color' => '#555',
			'button_border_color' => '#e3e3e3',
			'button_border_color_hover' => '#ccc',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['pink'] = array(
			'slug' => 'pink',
			'name' => __('Pink','wp_superlike'),
			'button_bg_color' => '#ea6ea0',
			'button_bg_color2' => '#ca1f64',
			'button_bg_color_hover' => '#f77bad',
			'button_bg_color_hover2' => '#ca1f64',
			'button_text_color' => '#fff',
			'button_border_color' => '#e1528c',
			'button_border_color_hover' => '#e1528c',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['blue'] = array(
			'slug' => 'blue',
			'name' => __('Blue','wp_superlike'),
			'button_bg_color' => '#1d59e0',
			'button_bg_color2' => '#0540c4',
			'button_bg_color_hover' => '#3c74f4',
			'button_bg_color_hover2' => '#1d59e0',
			'button_text_color' => '#fff',
			'button_border_color' => '#1d59e0',
			'button_border_color_hover' => '#1d59e0',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['red'] = array(
			'slug' => 'red',
			'name' => __('Red','wp_superlike'),
			'button_bg_color' => '#970000',
			'button_bg_color2' => '#b40404',
			'button_bg_color_hover' => '#8f0a0a',
			'button_bg_color_hover2' => '#8f0a0a',
			'button_text_color' => '#fff',
			'button_border_color' => '#8f0a0a',
			'button_border_color_hover' => '#8f0a0a',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['limegreen'] = array(
			'slug' => 'limegreen',
			'name' => __('Lime Green','wp_superlike'),
			'button_bg_color' => '#57a701',
			'button_bg_color2' => '#58911a',
			'button_bg_color_hover' => '#62ac12',
			'button_bg_color_hover2' => '#62ac12',
			'button_text_color' => '#fff',
			'button_border_color' => '#58911a',
			'button_border_color_hover' => '#58911a',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['white'] = array(
			'slug' => 'white',
			'name' => __('White','wp_superlike'),
			'button_bg_color' => '#fff',
			'button_bg_color2' => '#fff',
			'button_bg_color_hover' => '#fff',
			'button_bg_color_hover2' => '#fff',
			'button_text_color' => '#555',
			'button_border_color' => '#bbb',
			'button_border_color_hover' => '#999',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		$array['trophy'] = array(
			'slug' => 'trophy',
			'name' => __('Trophy','wp_superlike'),
			'button_bg_color' => '#f2ffbc',
			'button_bg_color2' => '#f2ffbc',
			'button_bg_color_hover' => '#f2ffbc',
			'button_bg_color_hover2' => '#f2ffbc',
			'button_text_color' => '#444',
			'button_border_color' => '#d2e48a',
			'button_border_color_hover' => '#bdc98f',
			'count_bg_color' => '#fff',
			'count_text_color' => '#555',
			'count_border_color' => '#ddd'
		);
		
		ksort($array);
		
		return $array;
	
	}