Advertisement
Guest User

remove items wordpress

a guest
Jun 9th, 2010
685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 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 widget_feeds">
  23. <div class="content">
  24. <div id="subscribe">
  25. <a rel="external nofollow" id="feedrss" title="<?php _e('Subscribe to this blog...', 'inove'); ?>" href="<?php echo $feed; ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>', 'inove'); ?></a>
  26. <?php if($options['feed_readers']) : ?>
  27. <ul id="feed_readers">
  28. <li id="google_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Google', 'inove'); ?>" href="http://fusion.google.com/add?feedurl=<?php echo $feed; ?>"><span><?php _e('Google', 'inove'); ?></span></a></li>
  29. <li id="youdao_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Youdao', 'inove'); ?>" href="http://reader.youdao.com/#url=<?php echo $feed; ?>"><span><?php _e('Youdao', 'inove'); ?></span></a></li>
  30. <li id="xianguo_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Xian Guo', 'inove'); ?>" href="http://www.xianguo.com/subscribe.php?url=<?php echo $feed; ?>"><span><?php _e('Xian Guo', 'inove'); ?></span></a></li>
  31. <li id="zhuaxia_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Zhua Xia', 'inove'); ?>" href="http://www.zhuaxia.com/add_channel.php?url=<?php echo $feed; ?>"><span><?php _e('Zhua Xia', 'inove'); ?></span></a></li>
  32. <li id="yahoo_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('My Yahoo!', 'inove'); ?>" href="http://add.my.yahoo.com/rss?url=<?php echo $feed; ?>"><span><?php _e('My Yahoo!', 'inove'); ?></span></a></li>
  33. <li id="newsgator_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('newsgator', 'inove'); ?>" href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=<?php echo $feed; ?>"><span><?php _e('newsgator', 'inove'); ?></span></a></li>
  34. <li id="bloglines_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('Bloglines', 'inove'); ?>" href="http://www.bloglines.com/sub/<?php echo $feed; ?>"><span><?php _e('Bloglines', 'inove'); ?></span></a></li>
  35. <li id="inezha_reader"><a rel="external nofollow" class="reader" title="<?php _e('Subscribe with ', 'inove'); _e('iNezha', 'inove'); ?>" href="http://inezha.com/add?url=<?php echo $feed; ?>"><span><?php _e('iNezha', 'inove'); ?></span></a></li>
  36. </ul>
  37. <?php endif; ?>
  38. </div>
  39. <?php if($options['feed_email'] && $options['feed_url_email']) : ?>
  40. <a rel="external nofollow" id="feedemail" title="<?php _e('Subscribe to this blog via email...', 'inove'); ?>" href="<?php echo $options['feed_url_email']; ?>"><?php _e('Email feed', 'inove'); ?></a>
  41. <?php endif; if($options['twitter'] && $options['twitter_username']) : ?>
  42. <a id="followme" title="<?php _e('Follow me!', 'inove'); ?>" href="http://twitter.com/<?php echo $options['twitter_username']; ?>/"><?php _e('Twitter', 'inove'); ?></a>
  43. <?php endif; ?>
  44. <div class="fixed"></div>
  45. </div>
  46. </div>
  47.  
  48. <!-- showcase -->
  49. <?php if( $options['showcase_content'] && (
  50. ($options['showcase_registered'] && $user_ID) ||
  51. ($options['showcase_commentator'] && !$user_ID && isset($_COOKIE['comment_author_'.COOKIEHASH])) ||
  52. ($options['showcase_visitor'] && !$user_ID && !isset($_COOKIE['comment_author_'.COOKIEHASH]))
  53. ) ) : ?>
  54. <div class="widget">
  55. <?php if($options['showcase_caption']) : ?>
  56. <h3><?php if($options['showcase_title']){echo($options['showcase_title']);}else{_e('Showcase', 'inove');} ?></h3>
  57. <?php endif; ?>
  58. <div class="content">
  59. <?php echo($options['showcase_content']); ?>
  60. </div>
  61. </div>
  62. <?php endif; ?>
  63.  
  64. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('north_sidebar') ) : ?>
  65.  
  66. <!-- recent comments -->
  67. <?php if( function_exists('wp_recentcomments') ) : ?>
  68. <div class="widget">
  69. <h3>Recent Comments</h3>
  70. <ul>
  71. <?php wp_recentcomments('limit=5&length=16&post=false&smilies=true'); ?>
  72. </ul>
  73. </div>
  74. <?php endif; ?>
  75.  
  76. <?php endif; ?>
  77. </div>
  78. <!-- sidebar north END -->
  79.  
  80. <div id="centersidebar">
  81.  
  82. <!-- sidebar east START -->
  83. <div id="eastsidebar" class="sidebar">
  84. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('east_sidebar') ) : ?>
  85.  
  86. <!-- categories -->
  87. <div class="widget widget_categories">
  88. <h3>Categories</h3>
  89. <ul>
  90. <?php wp_list_cats('sort_column=name&optioncount=0&depth=1'); ?>
  91. </ul>
  92. </div>
  93.  
  94. <?php endif; ?>
  95. </div>
  96. <!-- sidebar east END -->
  97.  
  98. <!-- sidebar west START -->
  99. <div id="westsidebar" class="sidebar">
  100. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('west_sidebar') ) : ?>
  101.  
  102. <?php endif; ?>
  103. </div>
  104. <!-- sidebar west END -->
  105. <div class="fixed"></div>
  106. </div>
  107.  
  108. <!-- sidebar south START -->
  109. <div id="southsidebar" class="sidebar">
  110. <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('south_sidebar') ) : ?>
  111.  
  112. <!-- meta -->
  113. <div class="widget">
  114. <h3>Meta</h3>
  115. <ul>
  116. <?php wp_register(); ?>
  117. <li><?php wp_loginout(); ?></li>
  118. </ul>
  119. </div>
  120.  
  121. <?php endif; ?>
  122. </div>
  123. <!-- sidebar south END -->
  124.  
  125. </div>
  126. <!-- sidebar END -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement