You can disable the loading bar from WordPress Admin Panel > Essentials > Theme options > General settings > Page Transition > Disable top loading bar:
To add custom code to the Meta bar in the posts single pages (the default meta bar contains the comments count and the like button and count) you can use the following Hooks: Add custom code at the Start of...
Post meta bar Hooks