1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +02:00

News-Meta-Description shortcode added.

This commit is contained in:
Cameron 2014-01-24 03:14:43 -08:00
parent 117685b448
commit cb75ba4aab

View File

@ -577,6 +577,11 @@ class news_shortcodes extends e_shortcode
return e107::getForm()->renderRelated($array, $this->news_item['news_meta_keywords'], array('news'=>$this->news_item['news_id']));
}
function sc_newsmetadiz()
{
return e107::getParser()->toHtml($this->news_item['news_meta_description'],true);
}
}
?>