PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/themes/eclipse/sidebar.php

https://github.com/Bochet/festival_lgbt
PHP | 51 lines | 48 code | 3 blank | 0 comment | 3 complexity | 56dbebe230081cd6805208735e94587b MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
  1. <?php if (dynamic_sidebar('Sidebar Widgets')) : else : ?>
  2. <!-- All this stuff in here only shows up if you DON'T have any widgets active in this zone -->
  3. <div class="widget-container">
  4. <h2 class="widget-title">Eclipse</h2>
  5. <p>Thank you for using Eclipse.</p>
  6. <p>We designed Eclipse to be as user friendly as possible, but if you do run into trouble we provide a <a href="http://cyberchimps.com/forum">support forum</a>, and <a href="http://www.cyberchimps.com/eclipse/docs/">precise documentation</a>.</p>
  7. </div>
  8. <div class="widget-container">
  9. <h2 class="widget-title"><?php printf( __('Pages', 'reponse' )); ?></h2>
  10. <ul>
  11. <?php wp_list_pages('title_li=' ); ?>
  12. </ul>
  13. </div>
  14. <div class="widget-container">
  15. <h2 class="widget-title"><?php printf( __( 'Archives', 'reponse' )); ?></h2>
  16. <ul>
  17. <?php wp_get_archives('type=monthly'); ?>
  18. </ul>
  19. </div>
  20. <div class="widget-container">
  21. <h2 class="widget-title"><?php printf( __('Categories', 'reponse' )); ?></h2>
  22. <ul>
  23. <?php wp_list_categories('show_count=1&title_li='); ?>
  24. </ul>
  25. </div>
  26. <div class="widget-container">
  27. <h2 class="widget-title"><?php printf( __('WordPress', 'reponse' )); ?></h2>
  28. <ul>
  29. <?php wp_register(); ?>
  30. <li><?php wp_loginout(); ?></li>
  31. <li><a href="<?php echo esc_url( __('http://wordpress.org/', 'reponse' )); ?>" target="_blank" title="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'reponse'); ?>"> <?php printf( __('WordPress', 'reponse' )); ?></a></li>
  32. <?php wp_meta(); ?>
  33. </ul>
  34. </div>
  35. <div class="widget-container">
  36. <h2 class="widget-title"><?php printf( __('Subscribe', 'reponse' )); ?></h2>
  37. <ul>
  38. <li><a href="<?php bloginfo('rss2_url'); ?>"><?php printf( __('Entries (RSS)', 'reponse' )); ?></a></li>
  39. <li><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php printf( __('Comments (RSS)', 'reponse' )); ?></a></li>
  40. </ul>
  41. </div>
  42. <?php endif; ?>