WordPress.org

Ready to get started?Download WordPress

Forums

Hide links for unregistered/logged off users? (4 posts)

  1. janty678
    Member
    Posted 3 years 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]

  2. elfin
    Moderator
    Posted 3 years ago #

    WHY ARE WE SHOUTING?

    and yes it is possible, but you may need a plugin to achieve it easily.

  3. janty678
    Member
    Posted 3 years ago #

    what plugin?

  4. elfin
    Moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags