"; endif; } function appliance_menu() { register_nav_menus( array( 'footer-menu' => __( 'Footer Menu', 'appliance' ) ) ); } add_action( 'init', 'appliance_menu' ); function appliance_custom_excerpt_length( $length ) { return 15; } add_filter( 'excerpt_length', 'appliance_custom_excerpt_length', 999 ); function appliance_replace_excerpt($content) { return str_replace(' [...]', '...', $content ); } add_filter('the_excerpt', 'appliance_replace_excerpt'); function appliance_widgets_init() { // Footer Menu register_sidebar( array( 'name' => __( 'Footer Widget Area', 'appliance' ), 'id' => 'primary-widget-area', 'description' => __( 'The footer widget area. Please note that you need to specify a title for each widget, in order for it to appear.', 'appliance' ), 'before_widget' => '', 'after_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } function appliance_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">
    says:', 'appliance' ), sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>