Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="main">
- <div id="post-area" <?php post_class(); ?>>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="breadcrumb">
- <?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?>
- </div><!--breadcrumb-->
- <h1><?php the_title(); ?></h1>
- <div id="post-info">
- <div id="post-info-left">
- By <?php the_author_posts_link(); ?> on <?php the_time('F j, Y'); ?>
- </div><!--post-info-left-->
- </div><!--post-info-->
- <div id="social-box">
- <div class="post-social-horz">
- <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" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px;">
- </iframe>
- </div><!--post-social-horz-->
- <div class="post-social-horz">
- <a href="http://twitter.com/share">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
- </div><!--post-social-horz-->
- <div class="post-social-horz">
- <?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
- <a>ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a>
- </div><!--post-social-horz-->
- <div class="post-social-horz">
- <g:plusone size="medium" annotation="inline" width="120"></g:plusone>
- </div><!--post-social-horz-->
- </div><!--social-box-->
- <div id="social-box-vert">
- <div class="post-social-vert">
- <iframe src="http://www.facebook.com/plugins/like.php?&href=<?php echo urlencode(get_permalink($post->ID)); ?>&send=false&layout=box_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:60px;" allowTransparency="true"></iframe>
- </div><!--post-social-vert-->
- <div class="post-social-vert">
- <a href="https://twitter.com/share">Tweet</a>
- </div><!--post-social-vert-->
- <div class="post-social-vert">
- <?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
- <a>ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="vertical">Pin It</a>
- </div><!--post-social-vert-->
- <div class="post-social-vert">
- <g:plusone size="tall"></g:plusone>
- </div><!--post-social-vert-->
- </div><!--social-box-vert-->
- <div id="content-area">
- <?php $mm_featured_img = get_option('mm_featured_img'); if ($mm_featured_img == "true") { ?>
- <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { /* if post has a thumbnail */ ?>
- <div class="post-image">
- <?php the_post_thumbnail('post-thumb'); ?>
- </div><!--post-image-->
- <?php } ?>
- <?php } ?>
- <?php the_content(); ?>
- <?php wp_link_pages(); ?>
- </div><!--content-area-->
- <div class="post-tags">
- <?php the_tags('','','') ?>
- </div><!--post-tags-->
- <?php $mm_author_box = get_option('mm_author_box'); if ($mm_author_box == "true") { ?>
- <div id="author-info">
- <div id="author-image">
- <?php echo get_avatar( get_the_author_meta('email'), '60' ); ?>
- </div><!--author-image-->
- <div id="author-desc">
- <h4>About <?php the_author(); ?></h4>
- <?php the_author_meta('description'); ?>
- </div><!--author-desc-->
- </div><!--author-info-->
- <?php } ?>
- <?php getRelatedPosts(); ?>
- <?php comments_template(); ?>
- <?php endwhile; endif; ?>
- </div><!--post-area-->
- </div><!--main -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement