• I”m looking for a plugin that will only do a preview kind of a post with a link below it that says “Register or login to read more….”

    Anything like that thus far that will work with WordPress 2.7.1?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I used to do this on my old blog, but I haven’t tested this code in awhile. It should show an excerpt (and you can use a plugin to lengthen the default) when not logged in. Add this to single.php:

    <phpcode>
    <?php global $user_login, $user_identity;
    get_currentuserinfo();
    if ($user_login) :
    ?>
    <div class=”story”>

    <span class=”right”><?php edit_post_link(‘Edit’,'[‘,’]’); ?> </span>

    <?php the_content(‘<p class=”serif”>Read the rest of this entry »</p>’); ?>
    </div>

    <?php else : ?>

    <?php the_excerpt(); ?>
    [Login to View Full Entry]

    <?php endif; ?>
    </phpcode>

    I’m looking for the exact same thing. A plugin, hack, or code that works the same way typical web forums do, in which case, you can completely see the blog’s index page, but to go to an actual single page post, you have to be logged in.

    **additionally, it would be great if wordpress could implement an option under the Visibility editor: that allows for the Guest/Registered Members option.

    **update, after a few hours with google, I’ve found a plugin that seems to give me exactly what I was looking for.

    User Access Manager.
    http://wordpress.org/extend/plugins/user-access-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Register to read more” plugin?’ is closed to new replies.