Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. <div id="side-info-column" class="inner-sidebar">
  2.  
  3. <div class="postbox">
  4. <h3>Plugin Info</h3>
  5.  
  6. <div class="inside">
  7. <p>Name : Codeboxr Woocommerce Coupon Affiliation For Sales Representative <?php echo 'v' . CB_ORDERBYCOUPON_VERSION; ?></p>
  8.  
  9. <p>Author : Codeboxr Team</p>
  10.  
  11. <p>Plugin URL :
  12. <a href="http://codeboxr.com/product/cborderbycouponforwoocommerce" target="_blank">Codeboxr.com</a>
  13. </p>
  14.  
  15. <p>Email : <a href="mailto:info@codeboxr.com" target="_blank">info@codeboxr.com</a></p>
  16.  
  17. <p>Contact : <a href="http://codeboxr.com/contact-us.html" target="_blank">Contact Us</a></p>
  18. </div>
  19. </div>
  20.  
  21. <div class="postbox">
  22. <h3>Help & Supports</h3>
  23. <div class="inside">
  24. <p>Support: <a href="http://codeboxr.com/contact-us.html" target="_blank">Contact Us</a></p>
  25. <p><i class="icon-envelope"></i> <a href="mailto:info@codeboxr.com">info@codeboxr.com</a></p>
  26. <p><i class="icon-phone"></i> <a href="tel:008801717308615">+8801717308615</a> (CEO: Sabuj Kundu)</p>
  27. <!--p><i class="icon-building"></i> Address: Flat-11B1, 252 Elephant Road (Near Kataban Crossing), Dhaka 1205, Bangladesh.<br-->
  28. </div>
  29. </div>
  30. <div class="postbox">
  31. <h3>Codeboxr Updates</h3>
  32. <div class="inside">
  33. <?php
  34. include_once(ABSPATH . WPINC . '/feed.php');
  35. if(function_exists('fetch_feed')) {
  36. $feed = fetch_feed('http://codeboxr.com/feed');
  37. // $feed = fetch_feed('http://feeds.feedburner.com/codeboxr'); // this is the external website's RSS feed URL
  38. if (!is_wp_error($feed)) : $feed->init();
  39. $feed->set_output_encoding('UTF-8'); // this is the encoding parameter, and can be left unchanged in almost every case
  40. $feed->handle_content_type(); // this double-checks the encoding type
  41. $feed->set_cache_duration(21600); // 21,600 seconds is six hours
  42. $limit = $feed->get_item_quantity(6); // fetches the 18 most recent RSS feed stories
  43. $items = $feed->get_items(0, $limit); // this sets the limit and array for parsing the feed
  44.  
  45. $blocks = array_slice($items, 0, 6); // Items zero through six will be displayed here
  46. echo '<ul>';
  47. foreach ($blocks as $block) {
  48. $url = $block->get_permalink();
  49. echo '<li><a target="_blank" href="'.$url.'">';
  50. echo '<strong>'.$block->get_title().'</strong></a>';
  51. echo '</li>';
  52.  
  53. }//end foreach
  54. echo '</ul>';
  55. endif;
  56. }
  57. ?>
  58. </div>
  59. </div>
  60.  
  61. <div class="postbox">
  62. <h3>Codeboxr on facebook</h3>
  63. <div class="inside">
  64. <iframe scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:260px; height:258px;" src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fcodeboxr&amp;width=260&amp;height=258&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color&amp;header=false&amp;appId=558248797526834"></iframe>
  65. </div>
  66. </div>
  67.  
  68. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement