\n\n"; echo $output; } } // scripts function add_action('wp_enqueue_scripts','add_script_function'); function add_script_function() { // load jquery if it isn't wp_enqueue_style( 'framework', get_stylesheet_uri() ); // Load Scripts wp_enqueue_script('jquery'); wp_enqueue_script('superfish', get_stylesheet_directory_uri() . '/js/superfish.js'); wp_enqueue_script('supersubs', get_stylesheet_directory_uri() . '/js/supersubs.js'); wp_enqueue_script('flexslider', get_stylesheet_directory_uri() . '/js/jquery.flexslider.js'); wp_enqueue_script('modernizr', get_stylesheet_directory_uri() . '/js/modernizr.js'); wp_enqueue_script('easing', get_stylesheet_directory_uri() . '/js/jquery.easing.js'); wp_enqueue_script('hoverintent', get_stylesheet_directory_uri() . '/js/jquery.hoverIntent.js'); wp_enqueue_script('carousel', get_stylesheet_directory_uri() . '/js/jquery.carouFredSel-6.2.1.js'); wp_enqueue_script('mosaic', get_stylesheet_directory_uri() . '/js/mosaic.1.0.1.js'); wp_enqueue_script('custom', get_stylesheet_directory_uri() . '/js/custom.js'); wp_enqueue_script('smoothscroll', get_stylesheet_directory_uri() . '/js/jquery.smooth-scroll.min.js'); wp_enqueue_script('cycle', get_stylesheet_directory_uri() . '/js/jquery.cycle.lite.js'); wp_enqueue_script('tinynav', get_stylesheet_directory_uri() . '/js/tinynav.min.js'); wp_enqueue_script('refineslide', get_stylesheet_directory_uri() . '/js/jquery.refineslide.js'); wp_enqueue_script('gmap', 'http://maps.google.com/maps/api/js?sensor=false'); wp_enqueue_script('jquery.ui.map', get_stylesheet_directory_uri() . '/js/gmap.js'); wp_enqueue_script('prettyPhoto', get_stylesheet_directory_uri() . '/js/jquery.prettyPhoto.js'); } // Register widgetized locations if(function_exists('register_sidebar')) { register_sidebar(array( 'name' => __( 'Main Sidebar', 'framework' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => __( 'Footer Widget 1', 'framework' ), 'id' => 'footer-widget-1', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => __( 'Footer Widget 2', 'framework' ), 'id' => 'footer-widget-2', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => __( 'Footer Widget 3', 'framework' ), 'id' => 'footer-widget-3', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => __( 'Footer Widget 4', 'framework' ), 'id' => 'footer-widget-4', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); } function excerpt_length( $length ) { global $data; if(isset($data['blog_excerpt'])) { return $data['blog_excerpt']; } } add_filter('excerpt_length', 'excerpt_length', 999); function pagination($pages = '', $range = 4) { $showitems = ($range * 2)+1; global $paged; if(empty($paged)) $paged = 1; if($pages == '') { global $wp_query; $pages = $wp_query->max_num_pages; if(!$pages) { $pages = 1; } } if(1 != $pages) { echo "
Page ".$paged." of ".$pages.""; if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "« First"; if($paged > 1 && $showitems < $pages) echo "‹ Previous"; for ($i=1; $i <= $pages; $i++) { if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems )) { echo ($paged == $i)? "".$i."":"".$i.""; } } if ($paged < $pages && $showitems < $pages) echo "Next ›"; if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) echo "Last »"; echo "
\n"; } } // Comments Support if ( ! function_exists( 'framework_comment' ) ) : function framework_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?>
  • ', '' ); ?>

  • id="li-comment-">
    on
    %s says:'), get_comment_author_link()) ?> ', '' ); ?>
    comment_approved == '0' ) : ?>
    __( 'Reply ', 'framework' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>

    featured icon

    featured icon

    featured icon

    featured icon

    1col

    1col

    1col


    ~ ~