diff --git a/e107_core/shortcodes/batch/news_shortcodes.php b/e107_core/shortcodes/batch/news_shortcodes.php index d2ba157d0..8be8f88f8 100644 --- a/e107_core/shortcodes/batch/news_shortcodes.php +++ b/e107_core/shortcodes/batch/news_shortcodes.php @@ -226,6 +226,15 @@ class news_shortcodes extends e_shortcode } + function sc_news_category_sef($parm=null) + { + if(!empty($this->news_item['category_sef'])) + { + return strtolower(str_replace(" ","", $this->news_item['category_sef'])); + } + } + + function sc_news_category_description($parm=null) { if(!empty($this->news_item['category_meta_description']))