Advertisement
Guest User

sidebar.php

a guest
Oct 15th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. <div class="span-8 last">
  2. <?php
  3. if(get_theme_option('socialnetworks') != '') {
  4. ?>
  5. <div class="addthis_toolbox">
  6. <div class="hover_effect">
  7. <div><a class="addthis_button_twitter">&nbsp;</a></div>
  8. <div><a class="addthis_button_google">&nbsp;</a></div>
  9. <div><a class="addthis_button_delicious">&nbsp;</a></div>
  10. <div><a class="addthis_button_facebook">&nbsp;</a></div>
  11. <div><a class="addthis_button_digg">&nbsp;</a></div>
  12. <div><a class="addthis_button_stumbleupon">&nbsp;</a></div>
  13. <div><a class="addthis_button_myspace">&nbsp;</a></div>
  14. <div><a class="addthis_button_email">&nbsp;</a></div>
  15. <div><a class="addthis_button_favorites">&nbsp;</a></div>
  16.  
  17. <div><a class="addthis_button_expanded">&nbsp;</a></div>
  18. <div style="clear:both; float:none;"></div>
  19. <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a65e1d93cd75e94"></script>
  20. </div>
  21. </div>
  22. <?php
  23. }
  24. ?>
  25.  
  26. <div class="sidebar">
  27.  
  28.  
  29. <ul>
  30. <?php
  31. if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
  32.  
  33.  
  34. <li><h2><?php _e('Recent Posts'); ?></h2>
  35. <ul>
  36. <?php wp_get_archives('type=postbypost&limit=5'); ?>
  37. </ul>
  38. </li>
  39.  
  40. <li><h2>Archives</h2>
  41. <ul>
  42. <?php wp_get_archives('type=monthly'); ?>
  43. </ul>
  44. </li>
  45.  
  46. <li>
  47. <h2>Calendar</h2>
  48. <?php get_calendar(); ?>
  49. </li>
  50.  
  51. <?php wp_list_categories('hide_empty=0&show_count=1&title_li=<h2>Categories</h2>'); ?>
  52.  
  53. <li id="tag_cloud"><h2>Tags</h2>
  54. <?php wp_tag_cloud('largest=16&format=flat&number=20'); ?>
  55. </li>
  56.  
  57. <?php wp_list_bookmarks(); ?>
  58.  
  59. <?php include (TEMPLATEPATH . '/recent-comments.php'); ?>
  60. <?php if (function_exists('get_recent_comments')) { get_recent_comments(); } ?>
  61.  
  62.  
  63. <li><h2>Meta</h2>
  64. <ul>
  65. <?php wp_register(); ?>
  66. <li><?php wp_loginout(); ?></li>
  67. <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
  68. <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
  69. <?php wp_meta(); ?>
  70. </ul>
  71. </li>
  72.  
  73. <?php endif; ?>
  74. </ul>
  75.  
  76. <?php if(get_theme_option('video') != '') {
  77. ?>
  78. <div class="sidebarvideo">
  79. <ul> <li><h2 style="margin-bottom: 10px;">Featured Video</h2>
  80. <object width="300" height="240"><param name="movie" value="http://www.youtube.com/v/<?php echo get_theme_option('video'); ?>&hl=en&fs=1&rel=0&border=1"></param>
  81. <param name="allowFullScreen" value="true"></param>
  82. <param name="allowscriptaccess" value="always"></param>
  83. <embed src="http://www.youtube.com/v/<?php echo get_theme_option('video'); ?>&hl=en&fs=1&rel=0&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="300" height="240"></embed>
  84. </object>
  85. </li>
  86. </ul>
  87. </div>
  88. <?php
  89. }
  90. ?>
  91.  
  92. <?php if(get_theme_option('ad_sidebar1_bottom') != '') {
  93. ?>
  94. <ul> <li><h2 style="margin-bottom: 10px;">Sponsor</h2>
  95. <div class="sidebaradbox">
  96. <?php echo get_theme_option('ad_sidebar1_bottom'); ?>
  97. </div>
  98. <?php
  99. }
  100. ?>
  101. </ul>
  102. </div>
  103. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement