diff --git a/plugins/blog/blog.plugin.php b/plugins/blog/blog.plugin.php index d17047f..1346deb 100644 --- a/plugins/blog/blog.plugin.php +++ b/plugins/blog/blog.plugin.php @@ -367,5 +367,21 @@ return Page::date($format); } + + /** + * Get author of current post + * + * + * echo Blog::getPostAuthor(); + * + * + * @return string + */ + public static function getPostAuthor() + { + return Page::author(); + } + + }