grysom

Untitled

Apr 25th, 2011
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1.  
  2. <div id="sidebar">
  3.  
  4.  
  5.  
  6. <div id="sidebar-top">
  7. <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>
  8. <!--<h3><?php _e('Štítky:','arthemia');?></h3>
  9. <?php wp_tag_cloud(''); ?>-->
  10. <?php endif; ?>
  11. </div>
  12.  
  13.  
  14. <div id="sidebar-middle" class="clearfloat">
  15. <div id="sidebar-left">
  16. <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
  17. <h3>Komiksy</h3>
  18. <ul>
  19. <?php
  20. $args=array(
  21. 'orderby' => 'name',
  22. 'order' => 'ASC'
  23. );
  24.  
  25. $categories=get_categories($args);
  26.  
  27. foreach($categories as $category) {
  28. echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "Ukaž všechno uložené v %" ), $category->name ) . '" ' . '>' . $category->name.'</a></li>';
  29. }
  30.  
  31. ?>
  32. </ul>
  33. <?php endif; ?>
  34. </div>
  35.  
  36. <div id="sidebar-right">
  37. <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?>
  38.  
  39.  
  40. <?php endif; ?>
  41. </div>
  42.  
  43. </div>
  44.  
  45. <div id="sidebar-bottom">
  46. <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(4) ) : ?>
  47.  
  48.  
  49. <?php endif; ?>
  50. </div>
  51.  
  52. </div>
Advertisement
Add Comment
Please, Sign In to add comment