Support » Plugins and Hacks » Hacks » Hide links for unregistered/logged off users?
6 years, 3 months ago
Can any one tell if this is possible. hide links for unregistered/logged off users?
Is there some php code that can make this possible? for eg. in my posts i usually post a download link via mediafire.com.
Can i hide this link so only registered/logged on users can view this? Thanks in advance. :d
[modified by moderator, please don’t post in all caps]
WHY ARE WE SHOUTING?
and yes it is possible, but you may need a plugin to achieve it easily.
look at one of the many membership type plugins out there. Though in theory this could be achieved with a simple shortcode, which only displays the contents if someone is logged in.