I am currently designing a custom WordPress theme from scratch and designing the header.php part now. I was coding for the title tags and when I was done and tested, everything was alright excepting title for pages.
I wanted the title for pages to be as follows;
Homepage: (Blog Name) - Let's Make Things Happen
All other pages: Page title
Posts: Post title
Search page: You search for (search query)
404 Not found: Page not found
As I mentioned above, everything went right but not page titles as it is still showing Page title - Page name whereas I did not use any PHP command for this and to be honest, I tried but could not correct it. Please help me modifying the code I used in my header.php file. I am sending you the screenshot of that code pointing that PHP command I thought was wrong.
Please help me out experts.