0

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

  • Please close your <title> tag in header file. – Pratik Patel Mar 26 at 6:25
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>
  • OMG!!! thank you a lot Tanmay, It's Work ^^ you are so nice, you made my day, men, thank again Tanmay ^^ ^^ – Happyy Garden Mar 26 at 6:23
  • @HappyyGarden Thank you for this. please mark (tick) as green mark of my answer as well as click on up arrow for "This answer is useful" so it can help for someone which is finding like this. – Tanmay Patel Mar 26 at 6:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.