The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Membership? (3 posts)

  1. unboundedexistence
    Posted 7 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 7 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 7 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