'http://cdn.jquerytools.org/1.2.7/tiny/jquery.tools.min.js', 'ver' => '1.2.7', 'dep' => 'jquery' ) ); wp_register_script( 'jquery-tools', esc_url( $script_args['url'] ), array( $script_args['dep'] ), $script_args['ver'], true ); // Register the javascript - Check the theme directory first, the parent theme (if applicable) second, otherwise load the plugin file if( file_exists( get_stylesheet_directory() . '/arconix-shortcodes.js' ) ) wp_register_script( 'arconix-shortcodes-js', get_stylesheet_directory_uri() . '/arconix-shortcodes.js', array( 'jquery-tools' ), ACS_VERSION, true ); elseif( file_exists( get_template_directory() . '/arconix-shortcodes.js' ) ) wp_register_script( 'arconix-shortcodes-js', get_template_directory_uri() . '/arconix-shortcodes.js', array( 'jquery-tools' ), ACS_VERSION, true ); else wp_register_script( 'arconix-shortcodes-js', ACS_INCLUDES_URL . 'shortcodes.js', array( 'jquery-tools' ), ACS_VERSION, true ); // Load the CSS - Check the theme directory first, the parent theme (if applicable) second, otherwise load the plugin file if( file_exists( get_stylesheet_directory() . '/arconix-shortcodes.css' ) ) wp_enqueue_style( 'arconix-shortcodes', get_stylesheet_directory_uri() . '/arconix-shortcodes.css', false, ACS_VERSION ); elseif( file_exists( get_template_directory() . '/arconix-shortcodes.css' ) ) wp_enqueue_style( 'arconix-shortcodes', get_template_directory_uri() . '/arconix-shortcodes.css', false, ACS_VERSION ); else wp_enqueue_style( 'arconix-shortcodes', ACS_CSS_URL . 'shortcodes.css', false, ACS_VERSION ); } /** * Remove automatic

and
tags from content * * @link Codex reference: do_shortcode() * @link Codex reference: shortcode_unautop() * @link PHP reference: preg_replace() * * @param string $content * @return string * * @since 0.9 */ function remove_wpautop( $content ) { $content = do_shortcode( shortcode_unautop( $content ) ); $content = preg_replace( '#^<\/p>|^
|

$#', '', $content ); return $content; } /** * Properly clear our floats after the columns * * @param string $last * @return string * * @since 1.0.4 * @version 1.1.0 */ function clearfloat( $last ) { if( ! $last ) return; return '

'; } ?>