The WordPress admin bar provides several links such as adding new posts, pages, etc. However, if you want to remove such options, here is the solution for it.
Paste the following to the function.php in your child theme.
// Remove the admin bar from the front end add_filter( 'show_admin_bar', '__return_false' );
Here we are simply using add_filter to remove the admin bar by returning false.