Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2013
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.89 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="main">
  4.  
  5.     <div id="post-area" <?php post_class(); ?>>
  6.  
  7.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  8.  
  9.         <div class="breadcrumb">
  10.  
  11.             <?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?>
  12.  
  13.         </div><!--breadcrumb-->
  14.  
  15.         <h1><?php the_title(); ?></h1>
  16.  
  17.         <div id="post-info">
  18.  
  19.             <div id="post-info-left">
  20.  
  21.                 By <?php the_author_posts_link(); ?> on <?php the_time('F j, Y'); ?>
  22.  
  23.             </div><!--post-info-left-->
  24.  
  25.         </div><!--post-info-->
  26.  
  27.         <div id="social-box">
  28.  
  29.             <div class="post-social-horz">
  30.  
  31.                 <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;">
  32.  
  33. </iframe>
  34.  
  35.             </div><!--post-social-horz-->
  36.  
  37.             <div class="post-social-horz">
  38.  
  39.                 <a href="http://twitter.com/share">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  40.  
  41.             </div><!--post-social-horz-->
  42.  
  43.             <div class="post-social-horz">
  44.  
  45.                 <?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
  46.  
  47. <a>ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="horizontal">Pin It</a>
  48.  
  49.             </div><!--post-social-horz-->
  50.  
  51.             <div class="post-social-horz">
  52.  
  53.                 <g:plusone size="medium" annotation="inline" width="120"></g:plusone>
  54.  
  55.             </div><!--post-social-horz-->
  56.  
  57.         </div><!--social-box-->
  58.  
  59.         <div id="social-box-vert">
  60.  
  61.             <div class="post-social-vert">
  62.  
  63.                 <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>
  64.  
  65.             </div><!--post-social-vert-->
  66.  
  67.             <div class="post-social-vert">
  68.  
  69.                 <a href="https://twitter.com/share">Tweet</a>
  70.  
  71.             </div><!--post-social-vert-->
  72.  
  73.             <div class="post-social-vert">
  74.  
  75.                 <?php $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); ?>
  76.  
  77. <a>ID)); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="vertical">Pin It</a>
  78.  
  79.             </div><!--post-social-vert-->
  80.  
  81.             <div class="post-social-vert">
  82.  
  83.                 <g:plusone size="tall"></g:plusone>
  84.  
  85.             </div><!--post-social-vert-->
  86.  
  87.         </div><!--social-box-vert-->
  88.  
  89.         <div id="content-area">
  90.  
  91.             <?php $mm_featured_img = get_option('mm_featured_img'); if ($mm_featured_img == "true") { ?>
  92.  
  93.                 <?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { /* if post has a thumbnail */ ?>
  94.  
  95.                 <div class="post-image">
  96.  
  97.                     <?php the_post_thumbnail('post-thumb'); ?>
  98.  
  99.                 </div><!--post-image-->
  100.  
  101.                 <?php } ?>
  102.  
  103.             <?php } ?>
  104.  
  105.             <?php the_content(); ?>
  106.  
  107.             <?php wp_link_pages(); ?>
  108.  
  109.         </div><!--content-area-->
  110.  
  111.             <div class="post-tags">
  112.  
  113.                 <?php the_tags('','','') ?>
  114.  
  115.             </div><!--post-tags-->
  116.  
  117.             <?php $mm_author_box = get_option('mm_author_box'); if ($mm_author_box == "true") { ?>
  118.  
  119.             <div id="author-info">
  120.  
  121.                 <div id="author-image">
  122.  
  123.                     <?php echo get_avatar( get_the_author_meta('email'), '60' ); ?>
  124.  
  125.                 </div><!--author-image-->
  126.  
  127.                 <div id="author-desc">
  128.  
  129.                     <h4>About <?php the_author(); ?></h4>
  130.  
  131.                     <?php the_author_meta('description'); ?>
  132.  
  133.                 </div><!--author-desc-->
  134.  
  135.             </div><!--author-info-->
  136.  
  137.             <?php } ?>
  138.  
  139.             <?php getRelatedPosts(); ?>
  140.  
  141.             <?php comments_template(); ?>
  142.  
  143.         <?php endwhile; endif; ?>  
  144.  
  145.     </div><!--post-area-->
  146.  
  147. </div><!--main -->
  148.  
  149. <?php get_sidebar(); ?>
  150.  
  151. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement