getPostLink generates a page relative post URL link, but it appends the hash value to buildLink()'s output instead of passing it via the 4th argument which does the building for it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.