WordPress get_template_directory_uri() not returning https and only return http

Make sure the WordPress and Site Address URL under the general settings include https

 The image shows, http, you need https

get_tample_directory_uri() uses the site_url() , tacking on the name of your WordPress content directory, and the location of your theme plus its name. site_url will return http if is_ssl() is false, which depends on your General Settings, as stated above.

Leave a Comment

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