I've been working on this code error for my worpress site offline.
Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /homez.541/photoher/marie/wp-content/themes/hemingway/functions.php on line 288
Line code error line 288:
Here is the whole code for the error:
id="comment-">
', '' ); ?>
break;
default :
global $post;
?>
id="li-comment-">
break;
endswitch;
}
endif;
Please help me.
%1$s %2$s',
get_comment_author_link(),
( $comment->user_id === $post->post_author ) ? ' ' . __( '(Post author)', 'hemingway' ) . '' : ''
); ?>
comment_approved ) : ?>
__( 'Reply', 'hemingway' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>