Guest User

Untitled

a guest
Feb 21st, 2012
44
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3. <div id="main">
  4.  
  5. <?php while(have_posts()): the_post(); ?>
  6.  
  7. <div id="post-wrapper">
  8.  
  9. <div id="page-header">
  10.  
  11. <h1><?php the_title(); ?></h1>
  12.  
  13. </div>
  14.  
  15. <div id="post">
  16.  
  17. <div class="post-content">
  18.  
  19. <?php the_content(); ?>
  20. <?php wp_link_pages(); ?>
  21.  
  22. </div>
  23.  
  24. </div>
  25.  
  26. <?php if(
  27. get_option('pyre_twitter') == 'On' ||
  28. get_option('pyre_facebook') == 'On' ||
  29. get_option('pyre_digg') == 'On' ||
  30. get_option('pyre_stumbleupon') == 'On' ||
  31. get_option('pyre_reddit') == 'On' ||
  32. get_option('pyre_tumblr') == 'On' ||
  33. get_option('pyre_email') == 'On' ||
  34. get_option('pyre_google') == 'On'
  35. ): ?>
  36. <div class='post-share'>
  37. <?php if(get_option('pyre_twitter') == 'On'): ?>
  38. <div class='twitter-share share-widget'>
  39. <a href="http://twitter.com/share" class="twitter-share-button" data-text='<?php the_title(); ?>' data-count="vertical">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  40. </div>
  41. <?php endif; ?>
  42. <?php if(get_option('pyre_facebook') == 'On'): ?>
  43. <div class='facebook-share share-widget'>
  44. <iframe src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;send=false&amp;layout=box_count&amp;width=46&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:46px; height:65px;" allowTransparency="true"></iframe>
  45. </div>
  46. <?php endif; ?>
  47. <?php if(get_option('pyre_digg') == 'On'): ?>
  48. <div class='digg-share share-widget'>
  49. <script type="text/javascript">
  50. (function() {
  51. var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
  52. s.type = 'text/javascript';
  53. s.async = true;
  54. s.src = 'http://widgets.digg.com/buttons.js';
  55. s1.parentNode.insertBefore(s, s1);
  56. })();
  57. </script>
  58. <a class="DiggThisButton DiggMedium" href="http://digg.com/submit?url=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;title=<?php echo urlencode(get_the_title()); ?>"></a>
  59. </div>
  60. <?php endif; ?>
  61. <?php if(get_option('pyre_stumbleupon') == 'On'): ?>
  62. <div class='stumbleupon-share share-widget'>
  63. <script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
  64. </div>
  65. <?php endif; ?>
  66. <?php if(get_option('pyre_reddit') == 'On'): ?>
  67. <div class='reddit-share share-widget'>
  68. <script type="text/javascript" src="http://www.reddit.com/static/button/button2.js"></script>
  69. </div>
  70. <?php endif; ?>
  71. <?php if(get_option('pyre_tumblr') == 'On'): ?>
  72. <div class='tumblr-share share-widget'>
  73. <a href="http://www.tumblr.com/share" title="Share on Tumblr" style="display:inline-block; text-indent:-9999px; overflow:hidden; width:62px; height:20px; background:url('http://platform.tumblr.com/v1/share_2.png') top left no-repeat transparent;">Share on Tumblr</a>
  74. </div>
  75. <?php endif; ?>
  76. <?php if(get_option('pyre_email') == 'On'): ?>
  77. <div class='email-share share-widget'>
  78. <a href="mailto:?subject=<?php the_title(); ?>&amp;body=<?php the_permalink(); ?>"><img src='<?php bloginfo('template_url'); ?>/images/email-share.png' alt='Email Share' /></a>
  79. </div>
  80. <?php endif; ?>
  81. <?php if(get_option('pyre_google') == 'On'): ?>
  82. <div class='google-share share-widget'>
  83. <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
  84. <g:plusone size="tall"></g:plusone>
  85. </div>
  86. <?php endif; ?>
  87. </div>
  88. <?php endif; ?>
  89.  
  90. </div>
  91.  
  92. <?php endwhile; ?>
  93.  
  94. </div>
  95.  
  96. <?php get_sidebar(); ?>
  97. <?php get_footer(); ?>
RAW Paste Data