__( 'Primary Navigation', 'shizzo' ), ) ); } add_action( 'wp_enqueue_scripts', 'shizzo_load_scripts' ); function shizzo_load_scripts() { wp_enqueue_script('shizzo-bootstrapjs', get_template_directory_uri().'/bootstrap/bootstrap.js', array('jquery') ); } function shizzo_register_style(){ wp_enqueue_style('shizzo-bootstrapcss', get_template_directory_uri().'/bootstrap/bootstrap.css', 'style'); wp_enqueue_style('shizzo-fontawesome',get_template_directory_uri().'/font-awesome.css'); wp_enqueue_style('shizzo-googlefonts', '//fonts.googleapis.com/css?family=Oswald|Open+Sans:400,300'); wp_enqueue_style('shizzo-style', get_template_directory_uri().'/style.css'); } add_action( 'wp_enqueue_scripts', 'shizzo_register_style' ); add_action( 'comment_form_before', 'shizzo_enqueue_comment_reply_script' ); function shizzo_enqueue_comment_reply_script() { if ( get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_filter( 'the_title', 'shizzo_title' ); function shizzo_title( $title ) { if ( $title == '' ) { return '→'; } else { return $title; } } add_filter( 'wp_title', 'shizzo_filter_wp_title' ); function shizzo_filter_wp_title( $title ) { return $title . esc_attr( get_bloginfo( 'name' ) ); } add_action( 'widgets_init', 'shizzo_widgets_init' ); function shizzo_widgets_init() { register_sidebar( array ( 'name' => __( 'Sidebar Widget Area', 'shizzo' ), 'id' => 'primary-widget-area', 'before_widget' => '
  • ', 'after_widget' => "
  • ", 'before_title' => '

    ', 'after_title' => '

    ', ) ); } function shizzo_search_form( $form ){ $form = '
    '; return $form; } add_filter( 'get_search_form', 'shizzo_search_form' ); function shizzo_custom_pings( $comment ) { $GLOBALS['comment'] = $comment; ?>
  • id="li-comment-">