Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Static home page doesn’t load page title Re: Static home page doesn’t load page title

#64500
Danilux
Member

Hi, clokey2k, I think that is correct, I have tried a lot of solutions and wp_title doesn’t output the home title ever. I was actually tring to keep it dinamic but If the only way is to hardcode it I guess I’ll go with that. Your code didn’t work but I modified it a little with the is_front_page() and now the homepage title displays right “Home • Site Name”

Here’s the code if it’s usefull for someone else:




echo "Home •"; bloginfo('name'); ?>





PS: If removed the is_home() conditional tag works too.

Another question tought, How would I go about if in the future I’d like to add a blog and would like to display the title of the post plus the site name kinda like the same structure but with the post name before. Example: “This is the post title • Site name”

How would I add that to this title structure?