Mr Portman

School website critiques, articles on education and some random cod

Editing the <title> element in WordPress

Tags: ,

Date: 29th October, 2009

I wanted to remove the funny arrow symbol which displays by default when you request the post title using the wp_title tag.

There are actually three parameters available with this tag, and it is the first one which deals with what I was after. Simply setting that blank is enough. Here’s the final element:

<title><?php wp_title(”); ?> | <?php bloginfo(‘name’); ?></title>

September 2010

August 2010

July 2010

June 2010

May 2010

April 2010

February 2010

January 2010

December 2009

November 2009

October 2009

September 2009