ID) . '">

(Read More...)'; } add_filter('excerpt_more', 'new_excerpt_more'); add_theme_support('automatic-feed-links'); if ( ! isset( $content_width ) ) $content_width = 600; add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 100, 100, true ); // This theme styles the visual editor with editor-style.css to match the theme style. add_editor_style(); // Load jQuery if ( !is_admin() ) { wp_enqueue_script('jquery'); } /** * Attach CSS3PIE behavior to elements * Add elements here that need PIE applied */ function business_render_ie_pie() { ?> '.$content.'' ; } // Coin Slider function cs_head(){ $path = get_template_directory_uri() ."/library/cs/"; $script = " "; echo $script; } add_action('wp_head', 'cs_head'); // Register superfish scripts function business_add_scripts() { if (!is_admin()) { // Add the scripts, but not to the wp-admin section. // Adjust the below path to where scripts dir is, if you must. $scriptdir = get_template_directory_uri() ."/library/sf/"; // Register the Superfish javascript file wp_register_script( 'superfish', $scriptdir.'sf.js', false, '1.4.8'); wp_register_script( 'sf-menu', $scriptdir.'sf-menu.js'); // Now the superfish CSS //load the scripts and style. wp_enqueue_style('superfish-css'); wp_enqueue_script('superfish'); wp_enqueue_script('sf-menu'); } // end the !is_admin function } //end add_our_scripts function //Add our function to the wp_head. You can also use wp_print_scripts. add_action( 'wp_head', 'business_add_scripts',0); // Register menu names function register_business_menus() { register_nav_menus( array( 'header-menu' => __( 'Header Menu' ), 'extra-menu' => __( 'Extra Menu' )) ); } add_action( 'init', 'register_business_menus' ); // Menu fallback function menu_fallback() { global $post; ?> function removeHeadLinks() { remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'wlwmanifest_link'); } add_action('init', 'removeHeadLinks'); remove_action('wp_head', 'wp_generator'); if (function_exists('register_sidebar')) { register_sidebar(array( 'name' => 'Sidebar Widgets', 'id' => 'sidebar-widgets', 'description' => 'These are widgets for the sidebar.', 'before_widget' => '', 'before_title' => '' )); if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => 'Footer', 'before_widget' => '', 'before_title' => '', )); } //Business Pro options file require_once ( get_template_directory() . '/library/options/options.php' ); require_once ( get_template_directory() . '/library/options/meta-box.php' ); ?>