Ready to get started?Download WordPress


Membership? (3 posts)

  1. unboundedexistence
    Posted 4 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
    Theme Diva & Forum Moderator
    Posted 4 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
    Posted 4 years ago #

    you can accomplish that without programming by using
    membership site plugins



Topic Closed

This topic has been closed to new replies.

About this Topic