Home › Forums › Back End › WordPress – modify title tag. › Reply To: WordPress – modify title tag.
June 6, 2016 at 11:15 pm
#242593
gulliver
Participant
Thanks.
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.