/* Plugin Name: Xmas Decoration Plugin URI: http://meohen1989.blogspot.com Description: This plugin adds Xmas Decoration Version: 1.1 Author: Tran Meo Author URI: http://meohen1989.blogspot.com */ function xmas_decoration_load_script_style (){ wp_register_script( 'xmas-decoration-holiday-bells', plugins_url( 'js/holiday_bells.js', __FILE__ ) ); wp_enqueue_script('xmas-decoration-holiday-bells'); wp_register_script( 'xmas-decoration-yuiloader', plugins_url( 'js/yuiloader-dom-event.js', __FILE__ ) ); wp_enqueue_script('xmas-decoration-yuiloader'); wp_register_style('xmas-decoration-style',plugins_url('xmas-decoration/css/additional.css')); wp_enqueue_style('xmas-decoration-style'); } function xmas_decoration () { ?>