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

Home Forums Back End WordPress – modify title tag. Reply To: WordPress – modify title tag.


Toward the bottom of that page is a note that wp_title is being deprecated and to approach things differently.

As a non-coder, I’d just about managed to grasp stuff like

if (is_404()) echo ‘file not available’;

… but how to use the revised format of

if (is_404()) {$title[‘title’] = ‘file not available’;}

is still largely a mystery to me and don’t know how to appropriately revise previously-used code.