Support » Fixing WordPress » How do you hide links from non signed in users?

  • I want to hide a navigation link from anyone not signed in. I don’t want to make the content on the page blocked when the user goes to it, I don’t want the link to show up at all unless they are signed in.

    How is this done?

    Background: I installed a private messaging plugin which required me to make a new page and apply their template. When signed it it works great. When you’re not signed in you see the link and when you go to the page it’s just empty. I think this looks messy so I want the link itself to be gone for visitors.

Viewing 1 replies (of 1 total)
  • That does sound messy, are you sure your not meant to do more with the blank page?

    Settings to show registration form maybe?

    This question can’t be fully answered without knowing what plugin your talking about. Also, it would require php modifications to be made, do you know PHP?

    Would need to add code that checks if visitor is logged in. Maybe you also need to check that the user logged in has some other status such as they have paid for a service or product?!

    I would offer to to do this but I’m on here seeking help myself and deep into a project. Get hold of me in a few days if your still stuck.

Viewing 1 replies (of 1 total)
  • The topic ‘How do you hide links from non signed in users?’ is closed to new replies.