mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 05:11:42 +02:00
New shortcode added on News view page: {NEWS_AUTHOR_REALNAME}
Tagcloud menu can now be sorted via shortcode parms. eg. {MENU: path=tagcloud&order=tag,asc&limit=20} Animate.css library loading example added to bootstrap5/theme.xml
This commit is contained in:
@@ -99,6 +99,12 @@ class news_shortcodes extends e_shortcode
|
||||
}
|
||||
|
||||
|
||||
function sc_news_author_realname($parm=null)
|
||||
{
|
||||
return !empty($this->news_item['user_login']) ? $this->news_item['user_login'] : null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function sc_news_author($parm=null)
|
||||
{
|
||||
@@ -117,6 +123,8 @@ class news_shortcodes extends e_shortcode
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function sc_newscomments($parm=null)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user