Replacing Meta Information with a Plugin - Joomla! Forum - community, help and support
hi folks, throwing little plugin make meta descriptions better suit how want them display.
i know can add meta tags page's head using following:
$document->setmetadata("description", "my new meta description text.");
however, tacks additional tag head, not replacing current "description" meta tag if there one. simple way check , see if there "description" meta tag, , if so, replace it?
i know can add meta tags page's head using following:
$document->setmetadata("description", "my new meta description text.");
however, tacks additional tag head, not replacing current "description" meta tag if there one. simple way check , see if there "description" meta tag, , if so, replace it?
no 1 eh? darn.
Comments
Post a Comment