Why i dont get PAGE DESCRIPTION?
function head()
{
$this->output(
'<head>',
'<meta http-equiv="content-type" content="'.$this->content['content_type'].'"/>'
);
$this->head_title();
$this->head_metas();
$this->head_css();
$this->head_links();
$this->head_lines();
$this->head_script();
$this->head_custom();
$this->output('</head>');
}
function head_title()
{
$pagetitle=strlen($this->request) ? strip_tags(@$this->content['title']) : '';
$headtitle=(strlen($pagetitle) ? ($pagetitle.' - ') : '').$this->content['site_title'];
$this->output('<title>'.$headtitle.'</title>'); - This show me the site title, it works
}
function head_metas()
{
if (strlen(@$this->content['description']))
$this->output('<meta name="description" content="'.$this->content['description'].'"/>'); - This doesnt show me page description. How can i add page description?
if (strlen(@$this->content['keywords'])) // as far as I know, meta keywords have zero effect on search rankings or listings
$this->output('<meta name="keywords" content="'.$this->content['keywords'].'"/>');
}