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:
parent
117685b448
commit
cb75ba4aab
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user