WordPress <title>
-
Hey guys,
Couple of quick questions about WordPress <title> tags:https://www.kimstewart.ca/blog/
Currently, my WordPress blog title reads “KimStewart.ca” on my blog index page.
This is what I have set as the Blog Title in the WordPress control panel.However, I would like for it to read “KimStewart.ca | Blog” on my blog index page. How can I do this?
As well, for the individual post pages themselves, https://www.kimstewart.ca/blog/donald-trumps-think-like-a-billionaire/
It currently shows “KimStewart.ca ? Donald Trump’s Think Like A Billionaire” as the title.
I would like for it to read “Donald Trump’s Think Like A Billionaire | KimStewart.ca”
(I think this will help SEO a bit having the post name first)This is the code I am currently running to show titles on my WordPress blog:
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> <?php } ?> <?php wp_title(); ?></title>
Thanks!
- The topic ‘WordPress <title>’ is closed to new replies.