Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage Default_Theme
- */
- get_header(); ?>
- <div id="blog-container" class="full-width">
- <section id="content" class="margin-width group">
- <div id="blog">
- <!--BLOG LOOP STARTS HERE-->
- <article class="post">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <div class="ribbon-wrapper">
- <div class="ribbon-front"><?php comments_popup_link('ADD COMMENT', '1 COMMENT', '% COMMENTS'); ?></div>
- <div class="ribbon-edge-topleft"></div>
- <header class="post-title">
- <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
- <?php the_title(); ?>
- </a>
- </header>
- </div>
- <section class="post-content">
- <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
- <?php the_post_thumbnail('thumbnail');?>
- </a>
- <div class="post-text"><?php the_content(); ?></div>
- <div class="subscribe-box"></div>
- <div class="alert-box">
- <h1>OFFER ENDING AUGUST 1ST: CRAZY.RICH.FREE LIVE Event on November 8-10, 2013 in ATX Tickets Only $19.99!<br />
- <div class="button alert-link"><a href="http://live.crazyrichfree.com" target="_blank">Learn More</a></div></h1>
- </div>
- </section>
- <footer class="post-meta">
- WHAT DO YOU THINK - <a href="#comment">COMMENT BELOW</a>
- <ul class="post-social">
- <li><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=button_count&show_faces=false&width=100&action=like&colorscheme=light" style="border:none; overflow:hidden; width:85px; height:20px"></iframe></li>
- <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>
- <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>
- </ul>
- </footer>
- <p><a name="comment"></a><?php comments_template(); ?></p>
- <div class="previous"><?php previous_post_link('PREVIOUS POST: %link') ?></div>
- <div class="next"><?php next_post_link('NEXT POST: %link') ?></div>
- <?php edit_post_link('Edit This Post'); ?>
- </div>
- </article>
- <?php endwhile; endif; ?>
- <!--BLOG LOOP ENDS HERE-->
- </div>
- <aside id="sidebar-container" style="margin-top:-10px">
- <?php if ( !function_exists('dynamic_sidebar')
- || !dynamic_sidebar('Blog Sidebar') ) : ?> <?php endif; ?>
- </aside>
- </section>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement