1
0
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:
Cameron
2021-06-12 16:18:51 -07:00
parent f561c5920b
commit aa6e449aee
6 changed files with 47 additions and 7 deletions

View File

@@ -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)
{