Advertisement
Guest User

sidebar-buddypress.php artisteer

a guest
Nov 4th, 2012
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. </div><div class="cleared"></div>
  2. </div><div class="cleared"></div>
  3. </div></div>
  4.  
  5. <?php if ( !theme_dynamic_sidebar('bottom') ) : ?>
  6. <?php $style = theme_get_option('theme_sidebars_style_bottom'); ?>
  7. <?php $heading = theme_get_option('theme_'.(is_single()?'single':'posts').'_widget_title_tag'); ?>
  8. <?php endif; ?>
  9.  
  10. <div class="cleared"></div></div>
  11. <div class="art-layout-cell art-sidebar1">
  12.  
  13.  
  14. <?php
  15. if ( !theme_dynamic_sidebar( 'default' ) ) : ?>
  16. <?php $style = theme_get_option('theme_sidebars_style_default'); ?>
  17. <?php $heading = theme_get_option('theme_'.(is_single()?'single':'posts').'_widget_title_tag'); ?>
  18. <?php ob_start();?>
  19. <?php get_search_form(); ?>
  20. <?php theme_wrapper($style, array('title' => __('Search', THEME_NS), 'heading' => $heading, 'content' => ob_get_clean())); ?>
  21. <?php ob_start();?>
  22. <ul>
  23. <?php wp_list_categories('show_count=1&title_li='); ?>
  24. </ul>
  25. <?php theme_wrapper($style, array('title' => __('Categories', THEME_NS), 'heading' => $heading, 'content' => ob_get_clean())); ?>
  26. <?php ob_start();?><?php
  27. echo theme_get_menu(array(
  28. 'source' => theme_get_option('theme_vmenu_source'),
  29. 'depth' => theme_get_option('theme_vmenu_depth'),
  30. 'class' => 'art-vmenu'
  31. )
  32. );
  33. ?>
  34. <?php theme_wrapper('vmenu', array('title' => '', 'heading' => $heading, 'content' => ob_get_clean())); ?>
  35. <?php endif; ?>
  36.  
  37. <?php if ( bp_is_register_page() ) : ?>
  38. <script type="text/javascript">
  39. jQuery(document).ready( function() {
  40. if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
  41. jQuery('div#blog-details').toggle();
  42. jQuery( 'input#signup_with_blog' ).click( function() {
  43. jQuery('div#blog-details').fadeOut().toggle();
  44. });
  45. });
  46. </script>
  47. <?php endif; ?>
  48.  
  49. <div class="cleared"></div>
  50. </div></div></div></div>
  51. <div class="cleared"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement