Here is the current code — and it worked as is until I upgraded wordpress to 3.5
<? if (!is_user_logged_in()) { ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post();
$registermessage = get_post_meta($post->ID, 'Register_message', true); ?>
<h2><? the_title() ?></h2>
<?php the_content(); ?><br/>
<?php endwhile; ?>
<?php endif; ?>
<div id="sink_login">
<? $homepage = get_option('home');
wp_login_form('redirect='.$homepage); ?>
<a href="<?php echo wp_lostpassword_url(); ?>" title="Lost Password">Lost Password?</a>
</div>
<div id="sink_register">
<h2>Register for WIPNYC</h2>
<p><? echo $registermessage ?></p>
<?php wp_register(); ?>
</div>
<!-- <div id="one_testimonial_teaser">
<h3>Read What Others are Saying</h3>
<?php
global $post;
$myposts = get_posts('numberposts=1&category=87');
foreach($myposts as $post) :
setup_postdata($post);
?>
<?php the_content(); ?>
<?php endforeach; ?>
</div> -->
<? } else if (is_current_user_role('subscriber')) { ?>
<ul class="sidebar-widget">
<li class="widget">
<h2 style="text-align:center;font-size:20px">Gain Full Access!</h2>
<p style="text-align:center">First 7 days FREE</p>
</br>
<h2 style="text-align:center">Monthly Membership - $3/month</h2>
<h2 style="text-align:center"><?php echo do_shortcode('[s2Member-PayPal-Button level="1" ccaps="" desc="WIPNYC Monthly Subscription / $3 per month" ps="paypal" cc="USD" ns="1" custom="wipnyc.com" ta="0" tp="7" tt="D" ra="3.00" rp="1" rt="M" rr="1" image="http://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" output="button" /]') ?></h2>
<br/>
<h2 style="text-align:center">Annual Membership - $30/year</h2>
<h2 style="text-align:center"><?php echo do_shortcode('[s2Member-PayPal-Button level="1" ccaps="" desc="WIPNYC Annual Subscription / $30 per year" ps="paypal" cc="USD" ns="1" custom="wipnyc.com" ta="0" tp="7" tt="D" ra="30.00" rp="1" rt="Y" rr="1" image="http://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif" output="button" /]') ?></h2>
<br/>
<hr/><br/>
<h1>Who are we?</h1><br/>
<p>Women in Production NYC (WIP) is a referral-only New York City-based community of women working in film, television, and media production. Through our website, email postings, and events, WIP fosters a vibrant and intimate support network to share resources and galvanize creative projects and careers.</p>
<br/>
<h1>Why subscribe?</h1><br/>
<p>Your subscription allows you to create and receive email postings related to jobs, events, housing, health insurance, and other production-related topics. You can search for and comment on postings. Comment threads are archived to create a cumulative, ever-accessible resource. Get to know your fellow WIP members through our online database.</p>
</br></br>
<? } else { ?>
<p>You're already logged in, <a href="<?php echo get_option('home'); ?>/">click here to proceed to the homepage</a></p>
<? } ?>