Using Memberstack 2.0? There is an updated version of this article here.
Add a tiny bit of code to the end of a link to hide it from logged-in members.
Hide a link from active members
Links with this code at the end are only visible to new users who don't have an account.