Advertisement
Guest User

sidebar-buddypress.php

a guest
Jan 23rd, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. </div></div>
  2. <div class="clear"></div>
  3. </div></div>
  4. <?php
  5. /**
  6. * @package WordPress
  7. * @subpackage U-Design
  8. */
  9. ?>
  10.  
  11. <?php
  12. global $udesign_options;
  13. $sidebar_position = ( $udesign_options['pages_sidebar'] == 'left' ) ? 'grid_8 pull_16 sidebar-box' : 'grid_8';
  14. ?>
  15. <div id="sidebar" class="<?php echo $sidebar_position; ?>">
  16. <div id="sidebarSubnav">
  17.  
  18.  
  19.  
  20. <?php // Widgetized sidebar
  21. if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Pages Sidebar') ) : ?>
  22.  
  23. <div class="custom-formatting">
  24. <h3><?php esc_html_e('About This Sidebar', 'udesign'); ?></h3>
  25. <ul>
  26. <?php _e("To edit this sidebar, go to admin backend's <strong><em>Appearance -> Widgets</em></strong> and place widgets into the <strong><em>Pages Sidebar</em></strong> Widget Area", 'udesign'); ?>
  27. </ul>
  28. </div>
  29.  
  30. <?php endif; ?>
  31.  
  32. <?php if ( bp_is_register_page() ) : ?>
  33. <script type="text/javascript">
  34. jQuery(document).ready( function() {
  35. if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
  36. jQuery('div#blog-details').toggle();
  37. jQuery( 'input#signup_with_blog' ).click( function() {
  38. jQuery('div#blog-details').fadeOut().toggle();
  39. });
  40. });
  41. </script>
  42. <?php endif; ?>
  43. </div><div class="clear"></div>
  44.  
  45.  
  46. </div>
  47. <!-- end sidebarSubnav -->
  48. </div>
  49. <!-- end sidebar -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement