WordPress.org

Ready to get started?Download WordPress

Forums

Membership? (3 posts)

  1. unboundedexistence
    Member
    Posted 5 years ago #

    I briefly looked around, both, the WordPress docs and this forum for some answers to a question I have, but got lost rather quickly. If I set up a website/blog is there anyway to restrict certain content/pages to "subscribers" who are logged in only?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    In theory, you could have subscriber-only page content via a customised page template that uses:

    <?php if($user_ID) the_content();?>

    But I don't know of any simple way to limit access to certain posts. Other than password protecting them, of course.

  3. gesman
    Member
    Posted 5 years ago #

    Yes,
    you can accomplish that without programming by using
    membership site plugins

    Regards,

    Gleb

Topic Closed

This topic has been closed to new replies.

About this Topic