If you want to change the default page title of an archive in WordPress, all you need to do is add this simple little piece of code to your functions.php file…

[php]
function change_archive_object_label() {
global $wp_post_types;
$labels = &$wp_post_types[‘post’]->labels;
$labels->name = ‘NEW TITLE HERE';
}
add_action( ‘init’, ‘change_archive_object_label’ );
[/php]

Related Terms:
Posted on 17th December 2012 by in Web Design Hampshire, Web Design Portsmouth, Web Design Southampton, Web Design Tips, Wordpress
Web Agency Portsmouth
where to go from here? get in touch OR

give us a call on 02392 123 538

Let's be friends! More...
Facebook Twitter Google+
Like & Follow Facebook Twitter Google+
Share the love, share this page! Facebook Twitter Google Digg Reddit LinkedIn Pinterest Email
Close [X]
Web Design South Coast
Areas We Cover

Here are some of the local areas we provide with web design and digital marketing services. These are just some examples, we work with clients all over the UK and across the globe.

Our Services
Close [X]
The Web Taylor
Harcourt Close Waterlooville, Hampshire PO8 8JL
02392 123358