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_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"), false);
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');
// Now the superfish CSS
//load the scripts and style.
wp_enqueue_style('superfish-css');
wp_enqueue_script('superfish');
} // 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; ?>