$helper = WebLinkHelper::createWebLinkHelper($this, 'direct_login_link', 'index.php?app=blog&page=login');
// Set link text
-$helper->setLinkTextById('direct_login_link_text');
+$helper->addLinkWithTextById('direct_login_link_text');
// Flush the content
$helper->flushContent();