get_option and list of options

Options are for general settings not specific to a post. To get the name of the author of a post, you will need to first get the ID of the author from the $post object and then use that to create a $user object from which the name can be retrieved.

Example code:

global $post;
$user_id = $post->post_author;
$user = new WP_User( $user_id );
$display_name = $user->display_name;
$first_name = $user->first_name;
$last_name = $user->last_name;

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)