Replaced static links with $linker->getLink()