Home Forums Plugin Support WP User Frontend Pro Hide Post Content from logged out users

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sekander Badsha 4 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22712

    Kira
    Member
    Post count: 10

    How can I hide post content (everything but the title, image, date and author) from users that are not logged in?

    #22871

    Sekander Badsha
    Member
    Post count: 2067

    Hello Kira,
    The thing you're trying to do is enhancement and we don't provide support for that.
    WordPress has a function named is_loggedin() and that returns true/false. You can use that.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hide Post Content from logged out users’ is closed to new replies.