• Hi there!

    Thanks a lot for reading this!

    I want to create a “kind of” community site. In fact I want to allow users to register to get a login pass, and once they are logged, show them some extra content that not appears if you are not logged.

    Untill now, I have not found any plugin that fits this, so I would like you to recommned me some options!

    Thanks a lot!

Viewing 1 replies (of 1 total)
  • I don’t think you would need a plugin to do this at all…. WordPress allows for multiple users and, if your settings are correct, anyone can register at example.com/wp-login.php. As for displaying content only to logged in users… this is a little trickier, but can be accomplished by using the current_user_can() function to hide specific pieces of content from non-logged-in users. I suggest something like this in your theme files:

    <?php
    if( current_user_can( 'read' ) ) {
        /* Show special content */
    }
    ?>

    Hope this helps,
    -Mike

Viewing 1 replies (of 1 total)
  • The topic ‘What plugin could I use to make a community’ is closed to new replies.