Advertisement
Guest User

sidebar.php

a guest
May 15th, 2011
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.39 KB | None | 0 0
  1. <?php do_action( 'bp_before_sidebar' ) ?>
  2.  
  3. <div id="sidebar">
  4.     <div class="padder">
  5.    
  6.    
  7.  
  8.  
  9.  
  10.  
  11.  
  12.     <?php do_action( 'bp_inside_before_sidebar' ) ?>
  13.  
  14.     <?php if ( is_user_logged_in() ) : ?>
  15.  
  16.         <?php do_action( 'bp_before_sidebar_me' ) ?>
  17.  
  18.         <div id="sidebar-me">
  19.         <br /><br />
  20.             <div id="menu">
  21.             <a href="<?php echo bp_loggedin_user_domain() ?>"><span>Post an update</span></a>
  22.             <a href="<?php echo bp_loggedin_user_domain() ?>activity/favorites/"><span>Shop Your Wishlist</span></a>
  23.             <a href="<?php echo bp_loggedin_user_domain() ?>messages/inbox/"><span>Check Your Messages</span></a>
  24.             <a href="http://www.riotcart.com/members/"><span>Find Some Friends</span></a>
  25.             </div>
  26.            
  27.            
  28.  
  29.             <?php do_action( 'bp_sidebar_me' ) ?>
  30.         </div>
  31.  
  32.         <?php do_action( 'bp_after_sidebar_me' ) ?>
  33.  
  34.         <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
  35.        
  36.             <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
  37.         <?php endif; ?>
  38.  
  39.     <?php else : ?>
  40.  
  41.        
  42.  
  43.     <?php endif; ?>
  44.  
  45.     <?php /* Show forum tags on the forums directory */
  46.     if ( BP_FORUMS_SLUG == bp_current_component() && bp_is_directory() ) : ?>
  47.        
  48.     <?php endif; ?>
  49.    
  50.  
  51.  
  52.  
  53.    
  54.    
  55.    
  56.    
  57.    
  58.  
  59.     <?php do_action( 'bp_inside_after_sidebar' ) ?>
  60.  
  61.     <?php dynamic_sidebar( 'sidebar' ) ?>
  62.    
  63.     </div><!-- .padder -->
  64.    
  65.  
  66.    
  67.    
  68.    
  69.  
  70.    
  71.    
  72.    
  73.    
  74. </div><!-- #sidebar -->
  75.  
  76. <?php do_action( 'bp_after_sidebar' ) ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement