I have a WP site and am trying to figure out how to place the name of the page before the site name. Essentially, I’d like to change “ABC Inc. | About Us” to “About Us | ABC Inc.”. Surprisingly, I ended up empty-handed after googling. Is this addressed by some plug-in?
Leave a Reply
You must be logged in to post a comment.
You can do this in your themes header.php file by replacing your tag with the following:
http://codex.wordpress.org/Function_Reference/wp_title
It is common to see usage of
or similar uses on the
<title>
tags; but according to the WordPRess Codex, it should not be used:The best way is to include a filter in your
functions.php
file:For more info on filtering the title, see the codex.
If you want to use a plugin, check out WordPress SEO by Yoast. Highly recommend it. You can drill down to writing custom titles for posts, categories, tags, homepage, etc.
Note: if it appears not to be working with your theme, click on “force rewrite titles”.