mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 18:30:20 +02:00
Blog Plugin as a part of Monstra CMS - getPostAuthor() - added #188
This commit is contained in:
@@ -367,5 +367,21 @@
|
||||
return Page::date($format);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get author of current post
|
||||
*
|
||||
* <code>
|
||||
* echo Blog::getPostAuthor();
|
||||
* </code>
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getPostAuthor()
|
||||
{
|
||||
return Page::author();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user