Thank you for the reply KonradS.
1. The main problem is that I am not able to have a “logout button” on the side bar of the different group pages.
2. The site isn’t ready for public view and that is why I put it in “maintenance mode.” (When I leave the site open, people figure out ways to register using bogus info.)
In doing some research, I found that the sidebar.php is where the problem is, I think. This is what it looks like:
<?php do_action( ‘bp_before_sidebar’ ) ?>
<div class=”v_line v_line_right visible-desktop”></div>
<div id=”sidebar” class=”span4 widgetarea”>
<div class=”paddersidebar right-sidebar-padder”>
<?php do_action( ‘bp_before_after_sidebar’ ) ?>
<?php if( ! dynamic_sidebar( ‘sidebar’ )): ?>
<?php if ( is_singular() ) { ?>
<div class=”widget”>
<h3 class=”widgettitle” ><?php _e(‘Recent Posts’, ‘cc’); ?></h3>
<?php
$myposts = get_posts(‘numberposts=5&offset=0&category=0’);
foreach($myposts as $post) : setup_postdata($post);
?>
- <span>“><?php the_title(); ?></span>
<?php endforeach; ?>
</div>
<?php } else { ?>
<div class=”widget”>
<h3 class=”widgettitle” ><?php _e(‘Random Posts’, ‘cc’); ?></h3>
<?php
$rand_posts = get_posts(‘numberposts=5&orderby=rand’);
foreach( $rand_posts as $post ) :
?>
- “><?php the_title(); ?>
<?php endforeach; ?>
</div>
<?php } ?>
<div class=”widget tags”>
<h3 class=”widgettitle” ><?php _e(‘Search by Tags!’, ‘cc’); ?></h3>
<div><?php wp_tag_cloud(‘smallest=9&largest=18’); ?></div>
</div>
<div class=”widget”>
<h3 class=”widgettitle” ><?php _e(‘Archives’, ‘cc’); ?></h3>
<?php wp_get_archives( ‘type=monthly’ ); ?>
</div>
<div class=”widget”>
<h3 class=”widgettitle” ><?php _e(‘Links’, ‘cc’); ?></h3>
<?php wp_list_bookmarks(‘title_li=&categorize=0&orderby=id’); ?>
</div>
<div class=”widget”>
<h3 class=”widgettitle” ><?php _e(‘Meta’, ‘cc’); ?></h3>
- <?php wp_loginout(); ?>
<?php wp_meta(); ?>
</div>
<?php endif; // end primary widget area ?>
The “offending code” starts here:
<?php if ( is_singular() ) { ?>
<div class=”widget”>
<h3 class=”widgettitle” ><?php _e(‘Recent Posts’, ‘cc’); ?></h3>
And it is this code where the dead links are. I tried to delete the code, but it made the sidebar unusable for the other widgets. When I use the “login” settings to add the login box, it shows up on every group but no the pages.
Thanks for the help KonradS