Site icon Hip-Hop Website Design and Development

bloginfo(); outputs wrong urls without https on inner pages

Template header has lines like this <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/icons/favicon.ico">

The problem is that bloginfo('template_directory') and other functions that use site_url (get_template_uri etc.) output url with HTTP instead of HTTPS. It happens on every page excepting index page. On the main page urls are correct, with https.

So inner pages are broken because of mixed content.

Site home and wp home in settings are set to https://example.net. All http links in database are replaced with https links. Nothing hepled.

What else should I check?