Advertisement
Guest User

sidebar-right.php

a guest
Feb 6th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <?php global $var; ?>
  2. <div class="sidebar right<?php if($var['rsb_extend'] != '') { ?> equalht<?php } ?>">
  3. <div class="sidebar_wrapper">
  4. <?php if ($var['k9-vision'] == 'on') { ?> <div class="mvtext">Right Sidebar (<?php echo $var['right_sidebar_width']; ?>px wide)</div><?php } else { ?>
  5. <?php k9_get_hanger('sidebars/right/before/'); ?>
  6. <ul>
  7. <?php /*widget ready*/
  8. if(!function_exists ('dynamic_sidebar') || !dynamic_sidebar ('Right-Sidebar')) :
  9. ?>
  10. <li><?php if ( is_user_logged_in() && current_user_can('switch_themes') ) { ?><a href="<?php echo get_bloginfo('url') ?>/wp-admin/widgets.php">Activate Widgets &raquo;</a><?php } else { ?>&nbsp;<?php } ?></li>
  11.  
  12. <?php endif; ?>
  13. </ul>
  14. <?php k9_get_hanger('sidebars/right/after/'); ?>
  15. <?php } ?>
  16. </div>
  17. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement