php - Site title not showing. Please help me

Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example. site

Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example. site: Please check my site code and suggest how to display the normal title tag.

Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example. site: https://happyygarden Please check my site code and suggest how to display the normal title tag.

Share Improve this question asked Mar 26, 2019 at 6:13 Happyy GardenHappyy Garden 31 bronze badge 1
  • Please close your <title> tag in header file. – Pratik Patel Commented Mar 26, 2019 at 6:25
Add a comment  | 

1 Answer 1

Reset to default 0

Use this code in Header.php file.

<title><?php wp_title(' - ', true, 'right'); ?></title>

But as per page view source code.you have forgot to close tag above tag in header. so please close tag. see this screenshot

Should code like this:

<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
</script>
<title><?php wp_title(' - ', true, 'right'); ?></title>

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745658776a4638707.html

相关推荐

  • php - Site title not showing. Please help me

    Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example. site

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信