Advertisement
Guest User

sidebar.php

a guest
Jan 23rd, 2012
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. <?php
  2. $options = get_option('inove_options');
  3.  
  4. if($options['feed'] && $options['feed_url']) {
  5. if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') {
  6. $feed = $options['feed_url'];
  7. } else {
  8. $feed = 'http://' . $options['feed_url'];
  9. }
  10. } else {
  11. $feed = get_bloginfo('rss2_url');
  12. }
  13. ?>
  14.  
  15. <!-- sidebar START -->
  16. <div id="sidebar">
  17.  
  18. <!-- sidebar north START -->
  19. <div id="northsidebar" class="sidebar">
  20.  
  21. <!-- feeds -->
  22. <div class="widget"><div class="mittig">
  23. <a href = "http://www.facebook.com/" target = "_blank"><img border = 0 src = "http://www.apprikose.de/wp-content/themes/inove/img/facebook-logo-small.png" title = "Folge Apprikose auf Facebook"></a>
  24. <a href = "http://www.twitter.com/" target = "_blank"><img border = 0 src = "http://www.apprikose.de/wp-content/themes/inove/img/twitter-logo-small.png" title = "Folge Apprikose auf Twitter"></a>
  25. <a href = "http://www.apprikose.de/feed/" target = "_blank"><img border = 0 src = "http://www.apprikose.de/wp-content/themes/inove/img/rss.png" title = "Abonniere diesen Blog"></a>
  26. </div></div>
  27. <div class="widget2">
  28. <div class="baloon">
  29. <div class="baloon_top">
  30. <div class="baloon_bottom">
  31. <div class="baloon_hans"><h3>Kategorien</h3></div>
  32. <ul>
  33. <?php
  34. $variable = wp_list_categories('echo=0&show_count=1&title_li=');
  35. $variable = preg_replace('~\((\d+)\)(?=\s*+<)~', '$1', $variable);
  36. echo $variable;
  37. ?>
  38. </ul>
  39. </div></div>
  40. </div></div>
  41.  
  42. <!-- showcase -->
  43.  
  44. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('north_sidebar') ) : ?>
  45.  
  46. <!-- posts -->
  47.  
  48. <!-- recent comments -->
  49.  
  50. <!-- tag cloud -->
  51.  
  52. <?php endif; ?>
  53. </div>
  54. <!-- sidebar north END -->
  55.  
  56. <div id="centersidebar">
  57.  
  58. <!-- sidebar east START -->
  59. <div id="eastsidebar" class="sidebar">
  60. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('east_sidebar') ) : ?>
  61.  
  62. <!-- categories -->
  63.  
  64. <?php endif; ?>
  65. </div>
  66. <!-- sidebar east END -->
  67.  
  68. <!-- sidebar west START -->
  69. <div id="westsidebar" class="sidebar">
  70. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('west_sidebar') ) : ?>
  71.  
  72. <!-- blogroll -->
  73.  
  74. <?php endif; ?>
  75. </div>
  76. <!-- sidebar west END -->
  77. <div class="fixed"></div>
  78. </div>
  79.  
  80. <!-- sidebar south START -->
  81. <div id="southsidebar" class="sidebar">
  82. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('south_sidebar') ) : ?>
  83.  
  84. <!-- archives -->
  85.  
  86. <!-- meta -->
  87.  
  88. <?php endif; ?>
  89. </div>
  90. <!-- sidebar south END -->
  91.  
  92. </div>
  93. <!-- sidebar END -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement