WordPress: How to hide category pages, post titles, page titles, etc.

by 9 replies
11
Hi,

I have a wordpress site that is for invited members only.
I've set up my posts and pages so that they are only visible to logged in users. So far so good...

However, if you access the page without logging in and click on one of the categories, you can still see the title of the posts.
I would like to hide these (also from the search engines). Any plugin that can help with this?

I'd like to hide the menu items as well for not-logged-in users as well.

Any plugins?

Thanks in advance.

Best regards,
Thomas
#programming #category #hide #page #pages #post #titles #wordpress
  • Bump bump...
    • [1] reply
    • I'm using Paid Memberships Pro to do this for my site (menu wise). I'm pretty sure it can be used to hide posts too. Definitely worth a look, it's free afterall
      • [ 1 ] Thanks
  • Thanks for the idea.

    Would I perhaps be able to add some php code in the line of

    if user_not_logged_in, and the page is not frontpage: don's show page

    ?
    • [1] reply
  • Thanks for the input.
    What would be great is that if I simply could have a plugin where I can select that certain pages, archives, posts, search results, etc. are not displayed (nor their headlines) if the user is not logged in.

    Any ideas?

    Thanks.

    Best regards,
    Thomas
  • I can't say I've written a plugin for WP yet - it's not something I've needed to do, as child themes + hooks can do anything a plugin can do, without having to mess around with the plugin specific stuff (eg. UI, packing, meta.. whatever else).

    Have you done any PHP coding before?
  • Actually, I found a plugin called 'Groups' that allowed me to do what I wanted, so problem solved.

    Thanks for all your help.

    Best regards,
    Thomas
  • Banned
    Hi,i don't know how to hide the title and page please tell me because i want to use it.
  • i think there is plugin that takes care of it..
    just google it

Next Topics on Trending Feed