Advertisement
Guest User

durr

a guest
Jul 26th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Default_Theme
  5. */
  6.  
  7. get_header(); ?>
  8. <div id="blog-container" class="full-width">
  9. <section id="content" class="margin-width group">
  10. <div id="blog">
  11. <!--BLOG LOOP STARTS HERE-->
  12. <article class="post">
  13. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  14. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  15. <div class="ribbon-wrapper">
  16. <div class="ribbon-front"><?php comments_popup_link('ADD COMMENT', '1 COMMENT', '% COMMENTS'); ?></div>
  17. <div class="ribbon-edge-topleft"></div>
  18. <header class="post-title">
  19. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
  20. <?php the_title(); ?>
  21. </a>
  22. </header>
  23. </div>
  24. <section class="post-content">
  25. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
  26. <?php the_post_thumbnail('thumbnail');?>
  27. </a>
  28. <div class="post-text"><?php the_content(); ?></div>
  29. <div class="subscribe-box"></div>
  30. <div class="alert-box">
  31. <h1>OFFER ENDING AUGUST 1ST: CRAZY.RICH.FREE LIVE Event on November 8-10, 2013 in ATX Tickets Only $19.99!<br />
  32. <div class="button alert-link"><a href="http://live.crazyrichfree.com" target="_blank">Learn More</a></div></h1>
  33. </div>
  34. </section>
  35. <footer class="post-meta">
  36. WHAT DO YOU THINK - <a href="#comment">COMMENT BELOW</a>
  37. <ul class="post-social">
  38. <li><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light" style="border:none; overflow:hidden; width:85px; height:20px"></iframe></li>
  39. <li><a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink() ?>" data-text="<?php the_title_attribute(); ?>" data-count="horizontal" data-width="90px">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></li>
  40. <li><?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?><a href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink($post->ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></li>
  41. </ul>
  42. </footer>
  43. <p><a name="comment"></a><?php comments_template(); ?></p>
  44. <div class="previous"><?php previous_post_link('PREVIOUS POST: %link') ?></div>
  45. <div class="next"><?php next_post_link('NEXT POST: %link') ?></div>
  46. <?php edit_post_link('Edit This Post'); ?>
  47. </div>
  48. </article>
  49. <?php endwhile; endif; ?>
  50. <!--BLOG LOOP ENDS HERE-->
  51. </div>
  52. <aside id="sidebar-container" style="margin-top:-10px">
  53. <?php if ( !function_exists('dynamic_sidebar')
  54. || !dynamic_sidebar('Blog Sidebar') ) : ?> <?php endif; ?>
  55. </aside>
  56. </section>
  57. </div>
  58. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement