1 2 3 4 5
if(JComponentHelper::isEnabled('com_authorposts', true) ){ $author_id = ''; //set author id or user id here require_once JPATH_SITE . '/components/com_authorposts/helpers/route.php'; $author_archive_link = AuthorpostsHelperRoute::getAuthorRoute($author_id, $language = 0); }
You can clone a snippet to your computer for local editing. Learn more.